[Live-devel] Nat and RTCP
Ross Finlayson
finlayson at live555.com
Wed Dec 17 11:55:01 PST 2008
>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/
More information about the live-devel
mailing list