[Live-devel] Delay problem of the first RTCP "SR" packet

Ross Finlayson finlayson at live555.com
Thu Jan 21 23:01:42 PST 2021



> On Jan 22, 2021, at 4:05 PM, Steve Ha <steveha at u2sr.com> wrote:
> 
> My question is how can I force the first RTCP "SR" packet to be delivered at the same time as the first RTP packet so that the RTSP client could get all frames with correct PTS?

Basically, you can’t.  (But even if you could, there’d be no guarantee that it would be received, as it (like all RTCP (and RTP packets) are datagrams.)

However, our RTSP server implementation *does* send an initial RTCP “SR”, before the first RTP packet, precisely for this reason.  (See “OnDemandServerMediaSubsession.cpp”, line 550.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list