I have a RTSP streamer and I would like to know if I can close a Media Session from one of my FileSink

When my FileSink is running out of data it calls "stopPlaying()", then the source method "doStopGettingFrames" is called and data is no longer streamed by my server. However the RTSP client keeps waiting for data during a certain time (until is "no data timeout" is over) as the session is not closed.
When the client disconnects then the session terminates.

And my question is : how can I close the media session or at list the media subsession when I call my method "stopPlaying()" ?

You should be closing the RTSP session, not just stopping reception of RTP/RTCP.

I.e., call "RTSPClient;:teardownMediaSession()".
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to