Hi, Thank you, i tried it out and guess.... it works :-) Now I get SR packets from the beginning.
Regarding the topic with the NTP timestamp: I think, I don't need to set it, the automatically generated on is fine. At the client side, I can use a fixed offset to the received NTP timestamp to know when to start playback. As long as all clients share the same NTP supplied system time and use the same offset, they will be in sync. regards, Martin > -----Ursprüngliche Nachricht----- > Von: "Federico Montesino Pouzols" <[EMAIL PROTECTED]> > Gesendet: 11.10.07 17:58:00 > An: "Martin Runge" <[EMAIL PROTECTED]> > CC: [email protected] > Betreff: Re: [Ccrtp-devel] How to send a RTCP SR packet first? > > > Hi, > > On Mon, October 1, 2007 10:04 am, Martin Runge wrote: > > Any ideas, how to get a SR packet out of an unmodified ccrtp stack at > > before > > or directly after the first data packet? > > > > A simple way would be redefining the run() virtual method of the RTPSession > object. The default run() executes controlTransmissionService() and > controlReceptionService() before dispatchDataPacket() and > takeInDataPacket(), so the first RTCP compound is always an RR. If you > switch this order and run the data methods before the control methods, > then the first RTCP compound should be an SR (provided dispatchDataPacket() > has sent something) > > > By the way: where to specify the NTP timestamp in the API? > > > > There is no way. Both RTP and NTP timestamps are generated internally (in > controlTransmissionService()). Why do you need to specify the timestamp? > > > _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 _______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel
