[pjsip] Probable Bug in get_frame() in Stream.c, when jitter buffer is empty
manjeet
manjeetss1 at yahoo.com
Mon Mar 2 01:28:34 EST 2009
Hi,
Could somebody please reply, in case he/she has faced the similar issue?
Regards,
Manjeet
--- On Sat, 2/28/09, manjeet <manjeetss1 at yahoo.com> wrote:
From: manjeet <manjeetss1 at yahoo.com>
Subject: [pjsip] Probably issue in get_frame() in Stream.c, when jitter buffer is empty
To: pjsip at lists.pjsip.org
Date: Saturday, February 28, 2009, 7:09 PM
Hi All,
I am facing issues when i call pjmedia_port_get_frame() and there are no frames in the jitter buffer.
I am using streams (so get_frame() from stream.c gets called), and i get the following error :- strm0x81052ac Jitter buffer empty (prefetch=0), that seems to be OK.
But the issue is the "frame->type" returned is always "PJMEDIA_FRAME_TYPE_AUDIO", instead of "PJMEDIA_FRAME_TYPE_NONE".
I looked at the get_frame() code in stream.c file, and i think the code has a BUG in case the frame->type is "PJMEDIA_JB_ZERO_EMPTY_FRAME", as 'samples_count' will never be 0, on the basis of which we assign the value to 'frame->type' at the end of get_frame() callback.
Did anybody else also faced the similar problem or could somebody pl help?
Thanks n regards,
Manjeet
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090301/b916ea30/attachment.html>
More information about the pjsip
mailing list