[Live-devel] Receiving video from a mixer

Ali Sanjabi sanjabia at corp.earthlink.net
Tue May 25 14:40:57 PDT 2004


Thank you Ross,
I was wondering what are you thoughts about best implementation of the
demultiplexer are.  The two options I was thinking of were to either change
MultiFramedRTPSource to also be a sink instead of directly inheriting from
RTPSource, with an RTP demultiplexer in between, or just derive from
RTPSource and implement the rest of it.  I haven't had a chance to dig into
the first option in much detail, but it seems like there are quite a bit of
post processing that is already implemented which could be reused.

Ali Sanjabi
 
-----Original Message-----
From: live-devel-bounces at ns.live.com [mailto:live-devel-bounces at ns.live.com]
On Behalf Of Ross Finlayson
Sent: Monday, May 24, 2004 2:53 AM
To: LIVE.COM Streaming Media - development & use
Subject: Re: [Live-devel] Receiving video from a mixer


>I am trying to use the Live.com code to receive video from a mixer, which 
>is multiplexing multiple video streams in a single RTP session.  I am 
>using JPEGVideoRTPSource as the packet source, but I haven't been able to 
>figure out how to demultiplex the streams in the sink based on their 
>SSRC.  Is there a way to handle this scenario with the Live.com library?

I have just installed a new version (2004.05.24) of the "LIVE.COM Streaming 
Media" libraries that provides some basic support for this.

The "RTPSource" object now has a new member function
         lastReceivedSSRC()
which tells the data receiver the SSRC of the most recently received 
packet.  You can call this from within your 'after getting' function to 
help demultiplex the data, based on SSRC.

(I.e., you will need to do the demultiplexing yourself - in your 'after 
getting' function - but using the "lastReceivedSSRC()" member function to 
help you.)


	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