[Live-devel] Add/Remove SubSessions dynamically
Ross Finlayson
finlayson at live555.com
Tue Jan 29 06:49:42 PST 2013
> I have created one ServerMediaSession with two sub sessions, one for MJPEG and one for AAC. When I played this from the client it works fine. Now I want to remove the MJPEG sub session and add the H264 sub session to the existing ServerMediaSession. I found there is a function removeServerMediaSession() to remove a server media session from the RTSPServer, similarly is there any functions to dynamically remove and add the sub sessions to the server media session ?
No - you can get the same effect by removing the whole "ServerMediaSession" object, then creating a new "ServerMediaSession", adding whatever "ServerMediaSubsession"s you want to it, then adding this new "ServerMediaSession" to the server.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130129/94910a53/attachment.html>
More information about the live-devel
mailing list