If I understand correctly, you are using oRTP in your own application, outside Linphone? It happens in Linphone too. I believe it happens because the application (the mediastreamer ticker component) checks for new RTP packets every 10ms. So when you're using a codec with 20ms audio frames, the other end only sends a new packet every 20ms, so half the time there is no new packet.
Specifically, any time you call rtp_session_recvm_with_ts (rtpsession.c) and no new packets have been received appropriate to the requested timestamp, that diagnostic count (stats.unavaillable) will be incremented. -Tom On Wed, Mar 30, 2011 at 11:39 AM, Dragos D <[email protected]> wrote: > Maybe they were a little late... > > On Mar 30, 2011 11:35 AM, "João Henrique Freitas" <[email protected]> > wrote: > > > > Hi, > > > > I am using oRTP and have a doubt about statistics: > > > > 1 message: oRTP-stats: rtp statistics id: '0' port: '32260' : > > 2 message: number of rtp packet sent=138680 > > 3 message: number of rtp bytes sent=7211360 bytes > > 4 message: number of rtp packet received=138681 > > 5 message: number of rtp bytes received=7211412 bytes > > 6 message: number of incoming rtp bytes successfully delivered to the > > application=7211360 > > 7 message: number of times the application queried a packet that > > didn't exist=138680 > > 8 message: number of rtp packet lost=0 > > 9 message: number of rtp packets received too late=0 > > 10 message: number of bad formatted rtp packets=0 > > 11 message: number of packet discarded because of queue overflow=0 > > > > My application sents 138680 and receives 138681. But queried 138680 > > packets that did not exists. The receives packets have any relation > > with queried packets? > > > > In normal application (without bugs) I will see "number of times the > > application queried a packet that didn't exist=0"? > > > > > > Thanks. > > -- > > ----------------------------------------------------------- > > João Henrique Freitas - joaohf_at_gmail.com > > Campinas-SP-Brasil > > BSD051283 > > LPI 1 > > http://www.joaohfreitas.eti.br > > > > _______________________________________________ > > Linphone-users mailing list > > [email protected] > > http://lists.nongnu.org/mailman/listinfo/linphone-users > > _______________________________________________ > Linphone-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/linphone-users > >
_______________________________________________ Linphone-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/linphone-users
