[Live-devel] Selectively disabling subsessions

Umar Qureshey umar at janteq.com
Wed Feb 29 18:31:29 PST 2012


Hi,
If I have my live555 rtsp_server running advertising say two streams:

MyStream0
MyStream1

Would it be possible for me to disable MyStream1 while MyStream0 is actively
being streamed so that the client cannot stream MyStream1 (and vice versa)?
Then upon the termination of MyStream1, MyStream0 will be automatically
enabled.

Best solution I can think of is to remove MyStream1's socket from select to
disable it and then to restore it when MyStream0 exits.  I'd like to do this
without hacking into the original live555 library code i.e. within my
subsession's code. 
Any tips would be great.

Thanks,
Umar




More information about the live-devel mailing list