[Live-devel] RTP/RTCP startup behaviuor

Marian Durkovic md at bts.sk
Tue Nov 29 18:23:26 PST 2005


> No, we won't be doing this, because that would throw away potentially 
> useful information for the elementary stream(s) that *have* already 
> been synchronized.

Well, it depends... If RTCP is used to perform intermedia synchronization,
the info is useless unless we have synchronized PTSs for all ESs. And as
I've described, it has very bad sideeffects.

Perhaps there could be some optional flag, by which the application could 
request liveMedia library to change to synchornized PTSs only after RTCP SRs
have been received for all ES ?
 
> If you want to continue to use a 'guessed' presentation time for an 
> elementary stream - even after 
> "RTPSource::hasBeenSynchronizedUsingRTCP()" returns True, then just 
> call "gettimeofday()".

I'm afraid this would not work for e.g. MPEG video, where RTP timestamps
describe presentation order, but the frames are sent in decoding order.
By ignoring RTP timestamps and just calling gettimeofday() you'll reverse
the order of P and B frames...


	With kind regards,

		M.

--------------------------------------------------------------------------
----                                                                  ----
----   Marian Durkovic                       network  manager         ----
----                                                                  ----
----   Slovak Technical University           Tel: +421 2 524 51 301   ----
----   Computer Centre, Nam. Slobody 17      Fax: +421 2 524 94 351   ----
----   812 43 Bratislava, Slovak Republic    E-mail/sip: md at bts.sk    ----
----                                                                  ----
--------------------------------------------------------------------------


More information about the live-devel mailing list