[Live-devel] two processes using the library
Karim Belem
kbelem at callisto.ca
Mon Sep 20 17:10:46 PDT 2004
Thanks Ross,
i would need a good luck for that if i am really going to do it. Maybe
we will think about some other simple ideas first.
Regards,
Karim.
Ross Finlayson wrote:
> Of course it's possible to have two different processes, each using
> the LIVE.COM libraries. (Because they're two different processes,
> they don't share any memory - so, no problem.)
>
> However, you're asking about a specific case: Developing a RTSP server
> (as one process) that uses a separate process to send each RTP
> stream. To do this, you would need to write your own subclass of
> "ServerMediaSubsession" - to represent the server's interface to the
> separate RTP-streaming process. In particular, your new subclass will
> need to implement the virtual member functions
> "getStreamParameters()", "startStream()", "pauseStream()", and
> "deleteStream()". Your implementation of these functions would spawn,
> communicate with, and destroy the separate RTP-streaming process.
>
> This would be a non-trivial piece of work, but you will probably find
> the code for the existing subclass - "OnDemandServerMediaSubsession" -
> useful. Good luck.
>
>
> Ross Finlayson
> LIVE.COM
> <http://www.live.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list