[Live-devel] testMPEG1or2AudioVideoToDarwin source code
doubt
Ross Finlayson
finlayson at live.com
Wed Jul 28 23:21:04 PDT 2004
At 12:51 PM 7/28/04, you wrote:
>i'm trying to understand testMPEG1or2AudioVideoToDarwin.cpp program..to
>see how it works...i wanted where exactly are we packing the video and
>audio data into RTP packets..is this being done in
>MPEG1or2VideoRTPSink.cpp and MPEG1or2AudioRTPSink.cpp
Yes, and its parent class: "MultiFramedRTPSink".
> ..also when i use
>ethreal to see these packets it shows as mpeg packets...i understand that
>we are transmitting them over TCP..i thought it is a common practise to
>transmit RTP over UDP...
Yes, but RTP packets can also be sent over TCP, using the same TCP
connection that's used for RTSP. The "DarwinInjector" implementation
currently does this, because I figured that it would usually be considered
important to transport data to the DSS reliably (and also to make it easier
to inject the stream to a DSS that's on the other side of a firewall).
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list