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?




_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to