jitter buffer - missing frame or zero (empty) frame?

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

 



Hi,

I have query regarding the frame type returned by pjmedia_jbuf_get_frame2(). 
For a particular application I am developing, I want to know precisely 
whether an incoming media (audio) frame is lost or delayed (such that it has 
to be dropped) and I want this information just about when frames are being 
played out (i.e. after jitter buffer processing). For this I was using frame 
type returned from jitter buffer as an indicator i.e.if frame type is 
PJMEDIA_JB_MISSING_FRAME, frame is considered lost or dropped.

However, I noticed from logs that when frames are lost (I physically "broke" 
the network connection), frame type shows up as PJMEDIA_JB_ZERO_EMPTY_FRAME 
and not PJMEDIA_JB_MISSING_FRAME.

Could some one throw some more light on this? or have a different way to do 
this?

Thanks,
Anshuman 




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux