media port issue: Assertion output_buf_len ... failed

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

 



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.

I'm I doing something wrong?

regards,
mayama
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081229/35dd3c99/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