media port issue: Assertion output_buf_len ... failed

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

 



On Mon, Dec 29, 2008 at 3:18 PM, mayamatakeshi <mayamatakeshi at gmail.com>wrote:

> Hello,
> I'm trying to write an app with pjsip/pjmedia that waits for an incoming
> call (leg_a), creates an outgoing call (leg_b) and connect these legs.
> I'm calling the following sequence of command (error check omitted for
> clarity):
>
> pjmedia_port *port_a;
> pjmedia_port *port_b;
>
> status = pjmedia_session_get_port(session_a, 0, &port_a);
> status = pjmedia_session_get_port(session_b, 0, &port_b);
> status = pjmedia_master_port_create(pool,
>                                                         port_a,
>                                                         port_b,
>                                                         0,
>                                                         master_port);
> status = pjmedia_master_port_start(trombone->master_port);
>
> But after these commands are successfully called, the app dies with:
>
> sip-call-trombone: ../src/pjmedia/g711.c:604: g711_recover: Assertion
> `output_buf_len >= (8000 * 10 / 1000) * 2' failed.


Hello again,
I was thinking if this would have anything to do with the fact that the
command is issued when one of the legs are in Hold state.
So i tested again without holding any legs and now the app dies with:
sip-call-trombone: ../src/pjmedia/g711.c:554: g711_decode: Assertion
`output_buf_len >= (input->size << 1)' failed.

But still I could not find what I am missing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081229/84591011/attachment.html>


[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