[Live-devel] two processes using the library

Ross Finlayson finlayson at live.com
Mon Sep 20 13:31:16 PDT 2004


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/>



More information about the live-devel mailing list