Reinvite between two pjsua not work

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

 



On Thu, Jun 19, 2008 at 2:13 PM, Lionel Sicilia <lionelsam at gmail.com> wrote:
> SIP A call SIP B (no audio, OK)
> SIP B answer SIP A (audio OK)
> SIP B put onHold SIP A (SIP A audio OK, SIP B no audio-inactive)
> SIP B reinvite SIP A (SIP B audio activated, but SIP A audio is corrupted).
>

Hi Lionel,

I'm not sure what you mean by corrupted.

> I debug this, in sound_port.c, in method pj_status_t play_cb show (from and
> SIP A):
>
> if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) {
> PJ_LOG(4,(THIS_FILE, "frame.type(%d) != PJMEDIA_FRAME_TYPE_AUDIO(%d)",
> frame.type,
> PJMEDIA_FRAME_TYPE_AUDIO)); // added to me
> goto no_frame;
>
> }
>
> output: sound_port.c frame.type(0) != PJMEDIA_FRAME_TYPE_AUDIO(1)
>
> In random time, the audio callback ok.
>
> This situation, only ocurrs when the two clients are pjsua.
>

The PJMEDIA_FRAME_TYPE_AUDIO case is a normal situation and should be
handled fine in the sound_port. I'm not sure what the problem is.

Cheers
 Benny



[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