Streaming Media and real time video
|
|
Activity:
Question posted: 05 23 2008 00:44:32 +0000,
1 answers, 116 views, last activity
07 06 2010 20:18:08 +0000
|
|
|
|
Sending audio and video in separate RTP streams provides a great deal of flexibility. For example, this makes it possible for a player to receive only the audio stream, but not video (or vice-versa). It would even be possible to have one computer receive and play audio, and a separate computer receive and play video.
These audio and video streams are synchronized using RTCP "Sender Report" (SR) packets - which map each stream's RTP timestamp to 'wall clock' (NTP) time. For more information, see the IETF's RTP/RTCP specification.
Receivers can then use this mapping to synchronize the incoming RTP streams. The LIVE555 Streaming Media code does this automatically: For subclasses of "RTPSource", the "presentationTime" parameter that's passed to the 'afterGettingFunc' of "getNextFrame()" (see "liveMedia/include/FramedSource.hh) will be an accurate, time-synchronized time. (For this to work, you need to have also created a "RTCPInstance" for each RTP source.)
For example, if you use "openRTSP" to receive RTSP/RTP streams, then the contents of each RTP stream (audio and video) are written into separate files. This is done using the "FileSink" class. If you look at the "FileSink::afterGettingFrame()" member function, you'll notice that there's a "presentationTime" parameter for each incoming frame. Some other receiver could use the "presentationTime" parameter to synchronize audio and video.

|
|
|
|
|
|
|
|
|
|
To add to Mr. Angyan's insight i would like to add some more on Indian contract Act. We enter into contracts so many times in a day that the word "contract" has become an indispensable part of our life. When you purchase milk or newspaper in the... |
Thnk u...mobile games...hmmm...I just remember a game on my w910i...Marble Madness 3D a motion game, I love playing that moving around here and there...its kind of fun...Whats your favorite mobile motion games ? |
Any how GE capital will not end because it is the major source of revenue for GE. |