I'm specifically trying to work out how to create the "RTP-Info" header in a RTSP/PLAY-Response.

Our server implementation does this automatically (see "RTSPServer.cpp", and search for "rtpInfo"). You shouldn't have to do anything yourself to generate this.

Similarly, at the client end, the information is filled in automatically - if you wish, you can just access the "MediaSubsession::rtpInfo" structure. Most clients, however, will not need to access this structure directly. Instead, if they wish to get the current 'normal play time' (NPT) for the stream, they can just call "MediaSubsession::getNormalPlayTime()", which uses the "rtpInfo" structure.

Also (as I have explained several times before), RTSP/RTP/RTCP clients (receivers) should rarely, if ever, need to look at RTP timestamps, sequence numbers, or RTCP packet data. Our receiving code automatically uses this information itself, to give you a properly-synchronized presentation time for each incoming frame of data.
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to