[Live-devel] Problem stopping and restarting an RTSP client
Constantin Savtchenko
csavtche at gmail.com
Mon Jul 9 11:56:54 PDT 2012
>
> if (rtspClients[i] != NULL)
>
> {
>
> *env << "shutting down " << *rtspClients[i] << "\n";
>
> shutdownStream(rtspClients[i]);
>
> }
>
> rtspClients[i] = NULL;
>
> }
>
> Mike,
Could you send your shutdownStream()? Perhaps you're not tearing down
the MediaSession? Also are you doing a Medium::close(rtspClients[i])
anywhere?
My program successfully restarts RTSP streams by sending
TeardownRequests and closing the rtsp client. (Closing the client turns
out to be important, didn't check why, but it seems like it maintains some
contextual information somewhere.)
Constantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120709/008c026b/attachment.html>
More information about the live-devel
mailing list