I have another question.
If I have another application that I will open the socket audio and video, how can I fix OnDemandServerMediaSubsession order to avoid reopening a socket already opened (so that he can use without opening it)?

There's nothing wrong with "OnDemandServerMediaSubsession", so you don't need to 'fix' it.

Instead, you write your own subclass of the existing "*FileServerMediaSubsession" class that you plan to use, but redefine the "createNewStreamSource()" virtual function to use an existing open file rather than opening a new one.
--

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

Reply via email to