linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] sound card block size different.


From: Simon Morlat
Subject: Re: [Linphone-developers] sound card block size different.
Date: Wed, 8 Mar 2006 14:53:06 +0100
User-agent: KMail/1.9.1

>
> btw, Simon, the RFC says (5.1 RTP Fixed Header Fields):
> "If RTP packets are generated
>  periodically, the nominal sampling instant as determined from
>  the sampling clock is to be used, not a reading of the system
>  clock. As an example, for fixed-rate audio the timestamp clock
>  would likely increment by one for each sampling period.  If an
>  audio application reads blocks covering 160 sampling periods
>  from the input device, the timestamp would be increased by 160
>  for each such block, regardless of whether the block is
>  transmitted in a packet or dropped as silent."
>
> Is this what you are doing with r->ts+=r->ts_inc; in get_new_timestamp()?
Exact. ts_inc is the number of sample per packet.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]