pjsua audio problem

ML
Mailing List SVR
Thu, Nov 24, 2011 2:46 PM

Hi,

I'm trying to use pjsua to make a call between two linux box, I'm able
to hear  audio for few seconds,

I'm using alsa,

here are the logs:

16:42:53.554    dlg0x1babb4  Received Request msg ACK/cseq=31520
(rdata0x1ab0bc)
16:42:53.555      pa_dev.c  Recorder thread started
16:42:53.556    ec0x198cc0  Prefetching..
16:42:53.557 os_core_unix.c  Info: possibly re-registering existing thread
16:42:53.557      pa_dev.c  Player thread started
16:42:53.558  strm0x1f1c94  GET prefetch_cnt=0/0
16:42:53.559  strm0x1f1c94  Jitter buffer is bufferring (prefetch=0),
plc invoked
16:42:53.566  strm0x1f1c94  Start talksprut..
16:42:53.567    tsx0x1bb3bc  Request to terminate transaction
16:42:53.568  strm0x1f1c94  RTP status: badpt=0, badssrc=0, dup=0,
outorder=0, probation=-1, restart=0
16:42:53.568  strm0x1f1c94  PUT prefetch_cnt=1/0
16:42:53.568    tsx0x1bb3bc  State changed from Completed to
Terminated, event=USER
16:42:53.569    dlg0x1babb4  Transaction tsx0x1bb3bc state changed to
Terminated
16:42:53.570    pjsua_app.c  Call 0 state changed to CONFIRMED
16:42:53.570    tsx0x1bb3bc  Timeout timer event
16:42:53.571    tsx0x1bb3bc  State changed from Terminated to
Destroyed, event=TIMER
16:42:53.571  tdta0x1bd3a8  Destroying txdata Response msg
200/INVITE/cseq=31520 (tdta0x1bd3a8)
16:42:53.572    tsx0x1bb3bc  Transaction destroyed!
16:42:53.575    ec0x198cc0  Prefetching..
16:42:53.575  strm0x1f1c94  Jitter buffer starts returning normal
frames (after 1 empty/lost)
16:42:53.595    ec0x198cc0  Prefetching..
16:42:53.615    ec0x198cc0  Prefetching..
16:42:53.635    ec0x198cc0  Prefetching..
16:42:53.655    ec0x198cc0  Prefetching..
16:42:53.656  strm0x1f1c94  jb updated(2), lvl=2 pre=0, size=1
16:42:53.661    ec0x198cc0  Latency bufferring complete
16:42:54.207  strm0x1f1c94  VAD re-enabled
16:42:54.207  silencedet.c  Starting talk burst (level=1773
threshold=1000)
16:42:54.225  strm0x1f1c94  jb updated(2), lvl=4 pre=0, size=3
16:42:54.547  strm0x1f1c94  Jitter buffer empty (prefetch=0), plc invoked
16:42:54.567  strm0x1f1c94  Jitter buffer starts returning normal
frames (after 1 empty/lost)
16:42:54.730  strm0x1f1c94  jb updated(2), lvl=6 pre=0, size=5
16:42:55.171  strm0x1f1c94  jb updated(1), lvl=5 pre=0, size=3
16:42:55.587  strm0x1f1c94  jb updated(1), lvl=4 pre=0, size=3
16:42:55.630  strm0x1f1c94  Jitter buffer empty (prefetch=0), plc invoked
16:42:56.287  strm0x1f1c94  Jitter buffer starts returning normal
frames (after 33 empty/lost)
16:42:56.688  strm0x1f1c94  jb updated(1), lvl=3 pre=0, size=1
16:42:56.867  strm0x1f1c94  jb updated(2), lvl=4 pre=0, size=3
16:42:57.296  strm0x1f1c94  jb updated(1), lvl=3 pre=0, size=1
16:42:57.389  strm0x1f1c94  jb updated(2), lvl=4 pre=0, size=3
16:42:57.446  strm0x1f1c94  Jitter buffer empty (prefetch=0), plc invoked
16:42:59.233  strm0x1f1c94  Jitter buffer starts returning normal
frames (after 87 empty/lost)
16:42:59.297  strm0x1f1c94  Jitter buffer empty (prefetch=0), plc invoked

any hints?

thanks
Nicola

Hi, I'm trying to use pjsua to make a call between two linux box, I'm able to hear audio for few seconds, I'm using alsa, here are the logs: 16:42:53.554 dlg0x1babb4 Received Request msg ACK/cseq=31520 (rdata0x1ab0bc) 16:42:53.555 pa_dev.c Recorder thread started 16:42:53.556 ec0x198cc0 Prefetching.. 16:42:53.557 os_core_unix.c Info: possibly re-registering existing thread 16:42:53.557 pa_dev.c Player thread started 16:42:53.558 strm0x1f1c94 GET prefetch_cnt=0/0 16:42:53.559 strm0x1f1c94 Jitter buffer is bufferring (prefetch=0), plc invoked 16:42:53.566 strm0x1f1c94 Start talksprut.. 16:42:53.567 tsx0x1bb3bc Request to terminate transaction 16:42:53.568 strm0x1f1c94 RTP status: badpt=0, badssrc=0, dup=0, outorder=0, probation=-1, restart=0 16:42:53.568 strm0x1f1c94 PUT prefetch_cnt=1/0 16:42:53.568 tsx0x1bb3bc State changed from Completed to Terminated, event=USER 16:42:53.569 dlg0x1babb4 Transaction tsx0x1bb3bc state changed to Terminated 16:42:53.570 pjsua_app.c Call 0 state changed to CONFIRMED 16:42:53.570 tsx0x1bb3bc Timeout timer event 16:42:53.571 tsx0x1bb3bc State changed from Terminated to Destroyed, event=TIMER 16:42:53.571 tdta0x1bd3a8 Destroying txdata Response msg 200/INVITE/cseq=31520 (tdta0x1bd3a8) 16:42:53.572 tsx0x1bb3bc Transaction destroyed! 16:42:53.575 ec0x198cc0 Prefetching.. 16:42:53.575 strm0x1f1c94 Jitter buffer starts returning normal frames (after 1 empty/lost) 16:42:53.595 ec0x198cc0 Prefetching.. 16:42:53.615 ec0x198cc0 Prefetching.. 16:42:53.635 ec0x198cc0 Prefetching.. 16:42:53.655 ec0x198cc0 Prefetching.. 16:42:53.656 strm0x1f1c94 jb updated(2), lvl=2 pre=0, size=1 16:42:53.661 ec0x198cc0 Latency bufferring complete 16:42:54.207 strm0x1f1c94 VAD re-enabled 16:42:54.207 silencedet.c Starting talk burst (level=1773 threshold=1000) 16:42:54.225 strm0x1f1c94 jb updated(2), lvl=4 pre=0, size=3 16:42:54.547 strm0x1f1c94 Jitter buffer empty (prefetch=0), plc invoked 16:42:54.567 strm0x1f1c94 Jitter buffer starts returning normal frames (after 1 empty/lost) 16:42:54.730 strm0x1f1c94 jb updated(2), lvl=6 pre=0, size=5 16:42:55.171 strm0x1f1c94 jb updated(1), lvl=5 pre=0, size=3 16:42:55.587 strm0x1f1c94 jb updated(1), lvl=4 pre=0, size=3 16:42:55.630 strm0x1f1c94 Jitter buffer empty (prefetch=0), plc invoked 16:42:56.287 strm0x1f1c94 Jitter buffer starts returning normal frames (after 33 empty/lost) 16:42:56.688 strm0x1f1c94 jb updated(1), lvl=3 pre=0, size=1 16:42:56.867 strm0x1f1c94 jb updated(2), lvl=4 pre=0, size=3 16:42:57.296 strm0x1f1c94 jb updated(1), lvl=3 pre=0, size=1 16:42:57.389 strm0x1f1c94 jb updated(2), lvl=4 pre=0, size=3 16:42:57.446 strm0x1f1c94 Jitter buffer empty (prefetch=0), plc invoked 16:42:59.233 strm0x1f1c94 Jitter buffer starts returning normal frames (after 87 empty/lost) 16:42:59.297 strm0x1f1c94 Jitter buffer empty (prefetch=0), plc invoked any hints? thanks Nicola
HH
Hans Hübner
Thu, Nov 24, 2011 2:49 PM

On Thu, Nov 24, 2011 at 3:46 PM, Mailing List SVR
lists@svrinformatica.it wrote:

I'm trying to use pjsua to make a call between two linux box, I'm able to
hear  audio for few seconds,

I'm using alsa,

I have the same problem - Using pjsua to call a sip provider.  Any
pointers would be appreciated.  I can supply logs, if required.

Thanks,
-Hans

On Thu, Nov 24, 2011 at 3:46 PM, Mailing List SVR <lists@svrinformatica.it> wrote: > I'm trying to use pjsua to make a call between two linux box, I'm able to > hear  audio for few seconds, > > I'm using alsa, I have the same problem - Using pjsua to call a sip provider. Any pointers would be appreciated. I can supply logs, if required. Thanks, -Hans
ML
Mailing List SVR
Thu, Nov 24, 2011 3:47 PM

Il 24/11/2011 15:49, Hans Hübner ha scritto:

On Thu, Nov 24, 2011 at 3:46 PM, Mailing List SVR
lists@svrinformatica.it  wrote:

I'm trying to use pjsua to make a call between two linux box, I'm able to
hear  audio for few seconds,

I'm using alsa,

I have the same problem - Using pjsua to call a sip provider.  Any
pointers would be appreciated.  I can supply logs, if required.

in my case I'm using pjsip 1.12,

Nicola

Thanks,
-Hans

Il 24/11/2011 15:49, Hans Hübner ha scritto: > On Thu, Nov 24, 2011 at 3:46 PM, Mailing List SVR > <lists@svrinformatica.it> wrote: >> I'm trying to use pjsua to make a call between two linux box, I'm able to >> hear audio for few seconds, >> >> I'm using alsa, > I have the same problem - Using pjsua to call a sip provider. Any > pointers would be appreciated. I can supply logs, if required. in my case I'm using pjsip 1.12, Nicola > > Thanks, > -Hans >
HH
Hans Hübner
Thu, Nov 24, 2011 4:10 PM

On Thu, Nov 24, 2011 at 4:47 PM, Mailing List SVR
lists@svrinformatica.it wrote:

in my case I'm using pjsip 1.12,

Same here.  Does the same problem occur for you with pjsip 1.10?

-Hans

On Thu, Nov 24, 2011 at 4:47 PM, Mailing List SVR <lists@svrinformatica.it> wrote: > in my case I'm using pjsip 1.12, Same here. Does the same problem occur for you with pjsip 1.10? -Hans
NI
Nanang Izzuddin
Tue, Jan 3, 2012 5:03 AM

Hi,

For such case, better try to make sure that the alsa/audio device
works fine first, see
https://trac.pjsip.org/repos/wiki/Testing_Audio_Device_with_pjsystest.

General audio problem troubleshooting can be found in
https://trac.pjsip.org/repos/wiki/sound-problems.

BR,
nanang

On Thu, Nov 24, 2011 at 11:10 PM, Hans Hübner hans.huebner@gmail.com wrote:

On Thu, Nov 24, 2011 at 4:47 PM, Mailing List SVR
lists@svrinformatica.it wrote:

in my case I'm using pjsip 1.12,

Same here.  Does the same problem occur for you with pjsip 1.10?

-Hans


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi, For such case, better try to make sure that the alsa/audio device works fine first, see https://trac.pjsip.org/repos/wiki/Testing_Audio_Device_with_pjsystest. General audio problem troubleshooting can be found in https://trac.pjsip.org/repos/wiki/sound-problems. BR, nanang On Thu, Nov 24, 2011 at 11:10 PM, Hans Hübner <hans.huebner@gmail.com> wrote: > On Thu, Nov 24, 2011 at 4:47 PM, Mailing List SVR > <lists@svrinformatica.it> wrote: >> in my case I'm using pjsip 1.12, > > Same here.  Does the same problem occur for you with pjsip 1.10? > > -Hans > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org