[Live-devel] New support for injecting streams into a Darwin Streaming Server

Ross Finlayson finlayson at live.com
Wed May 26 04:10:48 PDT 2004


The "LIVE.COM Streaming Media" libraries now includes support for sending a 
stream to an Apple 'Darwin' (aka. QuickTime) Streaming Server (a RTSP 
server), from which it can be sent to (potentially multiple) unicast media 
clients.  This is an alternative to building a RTSP server directly into 
your application.

This functionality is implemented using the new "DarwinInjector" class: 
<http://www.live.com/liveMedia/doxygen/html/classDarwinInjector.html>.

There are also two new test programs that demonstrate the use of this class 
(see <http://www.live.com/liveMedia/#testProgs>:

- "testMPEG1or2AudioVideoToDarwin" repeatedly reads a MPEG-1 or 2 Program 
Stream file (named "test.mpg"), extracts from this an audio and a video 
Elementary Stream, and streams these, using RTP, to a specified Darwin 
Streaming Server, using the session name "test.sdp".

- "testMPEG4VideoToDarwin" repeatedly reads from a MPEG-4 Elementary Stream 
video file (named "test.m4v"), and streams it, using RTP, to a specified 
Darwin Streaming Server, using the session name "test.sdp".

For more information about how to use the "DarwinInjector" class, see the 
comments near the top of "DarwinInjector.hh": 
<http://www.live.com/liveMedia/doxygen/html/DarwinInjector_8hh-source.html>


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list