[Live-devel] rtp mpg general
Ross Finlayson
finlayson at live.com
Tue Mar 22 11:08:00 PST 2005
>there are two streams one for audio the other for video.
Yes, that's true when streaming MPEG elementary streams.
> How is the payload
>produzed, does it use a mixer or are is the movie-data just spilt in
>packages and put in the rtp stream?
If you're streaming from a MPEG Program Stream (e.g., using the
"testMPEG1or2AudioVideoStreamer" demo application), then this program
stream is split (demultiplexed) into separate audio and video Elementary
Streams, which are then streamed separately. In the "LIVE.COM Streaming
Media" code, this demultiplexing is done using the class "MPEG1or2Demux".
>the other is how are the to streams synchronised with the two diffrent
>timestamp-orders?
See <http://www.live.com/liveMedia/faq.html#separate-rtp-streams> and
<http://www.live.com/liveMedia/faq.html#general-rtp-question>
>and the last is, in ethereal is the video-data encapsulated with an specific
>header for mpg over rtp (rfc 2250) why does ethereal not show some kind of
>header for the audio-data
The audio RTP packets also contain a 4-byte audio-specific header (after
the RTP header, but before the first MPEG audio frame), but these 4 bytes
are usually all zero.
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list