|
From: | Nicholas J Humfrey |
Subject: | Re: [Linphone-developers] oRTP: receiving packets with unknown TS delta? |
Date: | Tue, 22 Aug 2006 15:41:48 +0100 |
What value for TS should I pass to rtp_session_recvm_with_ts()? Would passing 0 work? or do I have to work it out based on the payload type of the first packet? My problem is that I don't know the rate that I should be reading packets in. I just know that I want a packet whenever one is received.
Thanks, nick. On 21 Aug 2006, at 13:28, Simon Morlat wrote:
oRTP does not need to know about the delta between packet timestamp. The onlyprequesite is to have a PayloadType that defines a clock_rate. Then you can use rtp_session_recvm_with_ts() and dump out packets. Simon Le mardi 15 août 2006 18:51, Nicholas J Humfrey a écrit :Hi, Is is possible to use oRTP to receive an RTP stream, when the delta between packet's time-stamps is unknown? I want to write a PayloadType agnostic recording tool, which just records packets to disk/ stdout.I guess I am just looking for a rtp_session_recvm() type function, which just returns the first available RTP packet. Would be nice to be able to use the oRTP networking code, rather than write my own routines to do it. nick. _______________________________________________ Linphone-developers mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |