Unable to get video call working on Raspberry PI

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

 



Hi Bill

Many thanks for your reply. I did follow Silvio mails but unfortunately I
could not get success.
As per my understanding RPI-camera is being activated by usning Video4Linux2
drivers but some how it is not getting encoded and transmitted using the
RTP (Please correct me if I am wrong)
If this is the case then what should I do next to resolve the issue.

I also tried   8k PCMU and setting "vid codec fps H.264/97 10 10" (fps=1)
and "vid codec bw H.264/97 128 128" in pjsip but still the same issue.
Is there anything else that also needs to be done in order to set frame
rate and bandwidth for codecs?, please guide.

Thanks

Date: Mon, 11 Aug 2014 11:53:36 -0400
From: Bill Gardner <billg@xxxxxxxxxxxx>
To: pjsip at lists.pjsip.org
Subject: Re: Unable to get video call working on Raspberry PI
Message-ID: <53E8E700.4000900 at wavearts.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Hi Deepak,

Please see recent posts around May 2014 by Silvio, he was working on
same problem and made progress. I would briefly note that the log
indicates media underruns, the RPI doesn't have enough CPU to do H264
video encode. I suggest using smallest video at low frame rate (you set
this up in the pjmedia ffmpeg video codec table) , also use 8k PCMU
instead of 16k speex. The decode errors are normal, they simply mean the
video decoder is waiting to get H264 SPS and PPS packets, so pjsip sends
a keyframe request via SIP INFO.

Bill

On 8/11/2014 11:17 AM, Deepak Garg wrote:
> Hi Experts
>
> I am trying to set up a video call on Raspberry PI (RPI) platform. I
> need to have 2 way Audio but only  1 way video (from Raspberry Pi to
> client for ex. android sip client).
>
> I have succeeded in making a 2-way audio call with no issues.
>
> [Current Issue:]
> However I am struggling to get 1-way video worked. Video SIP call gets
> established but no RTP video packets being transmitted from RPI (I
> have checked this by using wireshark).
>
> After the call disconnection below is the packet summary and one can
> notice that there is no Tx packets:
> #1 video H264, sendrecv, peer=192.168.1.196:9078
> <http://192.168.1.196:9078>
>        SRTP status: Not active Crypto-suite:
>        RX pt=102, size=240x320, fps=16.67, last update:00h:00m:06.196s ago
>           total 159pkt 140.2KB (146.6KB +IP hdr) @avg=126.5Kbps/132.3Kbps
>           pkt loss=0 (0.0%), discrd=3 (1.9%), dup=0 (0.0%), reord=0 (0.0%)
>                 (msec)    min     avg     max     last  dev
>           loss period:   0.000   0.000   0.000   0.000 0.000
>           jitter     :   2.233  26.125  49.000  48.000  13.477
> *TX pt=102, size=384x256, fps=15.00, last update:never*
> *          total 0pkt 0B (0B +IP hdr) @avg=0bps/0bps*
>           pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%)
>                 (msec)    min     avg     max     last  dev
>           loss period:   0.000   0.000   0.000   0.000 0.000
>           jitter     :   0.000   0.000   0.000   0.000 0.000
>        RTT msec      :   0.000   0.000   0.000   0.000 0.000
>
> also I can observe some:
> error: Bad or corrupted bitstream (PJMEDIA_CODEC_EBADBITSTREAM)
> [err:220087]
>
> Kindly provide some pointer to proceed further. Thanks in advance.
>
> *_I followed the following steps to compile and install PJSIP on RPI:_*
>
> sudo apt-get install libv4l-dev libx264-dev libssl-dev libasound2-dev
> asterisk
> installed SDL-2.0.0
> installed ffmpeg-1.2.5 with ./configure --enable-shared
> --disable-static --enable-memalign-hack --enable-gpl --enable-libx264
> and finally configured and installed PJSIP 2.2
>
> content of my config_site.h is as below:
> #define PJMEDIA_HAS_VIDEO       1
> #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
> #define PJMEDIA_AUDIO_DEV_HAS_ALSA 1
> #define PJMEDIA_HAS_FFMPEG           1
> #include <pj/config_site_sample.h>
> while doing make dep, make, make install on pjsip2.2 did not lead to
> any error.
>
> *_Below is the output generated when I
> run ./bin/pjsua-armv6l-unknown-linux-gnueabihf_*
> please notice *02:24:11.270     v4l2_dev.c  ...Video4Linux2 has 1 devices*
> *
> *
> 02:24:10.693 os_core_unix.c !pjlib 2.2 for POSIX initialized
> 02:24:10.700 sip_endpoint.c  .Creating endpoint instance...
> 02:24:10.703          pjlib  .select() I/O Queue created (0x139fbd8)
> 02:24:10.704 sip_endpoint.c  .Module "mod-msg-print" registered
> 02:24:10.705 sip_transport.  .Transport manager created.
> 02:24:10.706   pjsua_core.c  .PJSUA state changed: NULL --> CREATED
> 02:24:10.708 sip_endpoint.c  .Module "mod-pjsua-log" registered
> 02:24:10.709 sip_endpoint.c  .Module "mod-tsx-layer" registered
> 02:24:10.710 sip_endpoint.c  .Module "mod-stateful-util" registered
> 02:24:10.711 sip_endpoint.c  .Module "mod-ua" registered
> 02:24:10.712 sip_endpoint.c  .Module "mod-100rel" registered
> 02:24:10.713 sip_endpoint.c  .Module "mod-pjsua" registered
> 02:24:10.715 sip_endpoint.c  .Module "mod-invite" registered
> 02:24:11.181     alsa_dev.c  ..ALSA driver found 13 devices
> 02:24:11.181     alsa_dev.c  ..ALSA initialized
> 02:24:11.183          pjlib  ..select() I/O Queue created (0x13cb794)
> 02:24:11.258    pjsua_vid.c  ..Initializing video subsystem..
> *02:24:11.270     v4l2_dev.c  ...Video4Linux2 has 1 devices*
> 02:24:11.271 colorbar_dev.c  ...Colorbar video src initialized with 1
> device(s):
> 02:24:11.271 colorbar_dev.c  ... 0: Colorbar generator
> 02:24:11.281      sdl_dev.c  ...SDL 2.0 initialized
> 02:24:11.282 sip_endpoint.c  .Module "mod-evsub" registered
> 02:24:11.283 sip_endpoint.c  .Module "mod-presence" registered
> 02:24:11.284 sip_endpoint.c  .Module "mod-mwi" registered
> 02:24:11.285 sip_endpoint.c  .Module "mod-refer" registered
> 02:24:11.286 sip_endpoint.c  .Module "mod-pjsua-pres" registered
> 02:24:11.287 sip_endpoint.c  .Module "mod-pjsua-im" registered
> 02:24:11.288 sip_endpoint.c  .Module "mod-pjsua-options" registered
> 02:24:11.290   pjsua_core.c  .1 SIP worker threads created
> 02:24:11.291   pjsua_core.c  .pjsua version 2.2 for
> Linux-3.12.26/armv6l/glibc-2.13 initialized
> 02:24:11.292   pjsua_core.c  .PJSUA state changed: CREATED --> INIT
> 02:24:11.293 sip_endpoint.c  Module "mod-default-handler" registered
> 02:24:11.296   pjsua_core.c  SIP UDP socket reachable at
> 192.168.1.2:34137 <http://192.168.1.2:34137>
> 02:24:11.298   udp0x13e78b0  SIP UDP transport started, published
> address is 192.168.1.2:34137 <http://192.168.1.2:34137>
> 02:24:11.299    pjsua_acc.c  Adding account: id=<sip:192.168.1.2:34137
> <http://192.168.1.2:34137>>
> 02:24:11.300    pjsua_acc.c  .Account <sip:192.168.1.2:34137
> <http://192.168.1.2:34137>> added with id 0
> 02:24:11.301    pjsua_acc.c  Modifying accunt 0
> 02:24:11.302    pjsua_acc.c  Acc 0: setting online status to 1..
> 02:24:11.305   tcplis:34137  SIP TCP listener ready for incoming
> connections at 192.168.1.2:34137 <http://192.168.1.2:34137>
> 02:24:11.306    pjsua_acc.c  Adding account:
> id=<sip:192.168.1.2:34137;transport=TCP>
> 02:24:11.307    pjsua_acc.c  .Account
> <sip:192.168.1.2:34137;transport=TCP> added with id 1
> 02:24:11.309    pjsua_acc.c  Modifying accunt 1
> 02:24:11.310    pjsua_acc.c  Acc 1: setting online status to 1..
> 02:24:11.310    pjsua_aud.c  Set sound device: capture=-1, playback=0
> 02:24:11.311    pjsua_app.c  .Turning sound device ON
> 02:24:11.312    pjsua_aud.c  .Opening sound device PCM at 16000/1/20ms
> 02:24:11.361    ec0x13ce3e0  ..AEC created, clock_rate=16000,
> channel=1, samples per frame=320, tail length=200 ms, latency=0 ms
> 02:24:11.363   pjsua_core.c  PJSUA state changed: INIT --> STARTING
> 02:24:11.364 sip_endpoint.c  .Module "mod-unsolicited-mwi" registered
> 02:24:11.365   pjsua_core.c  .PJSUA state changed: STARTING --> RUNNING
> 02:24:11.366         main.c  Ready: Success
> >>>>
> Account list:
> [ 0] <sip:192.168.1.2:34137 <http://192.168.1.2:34137>>: does not register
>      Online status: Online
>  *[ 1] <sip:192.168.1.2:34137;transport=TCP>: does not register
>      Online status: Online
> Buddy list:
>  -none-
> *_Below is the output of vid dev list:_*
> *
> *
> >>> vid dev list
> 02:26:07.046 pjsua_app_comm  Video device list:
> 02:26:07.047 pjsua_app_comm  3 device(s) detected:
> 02:26:07.049 pjsua_app_comm   -2 SDL renderer [SDL][render] (default
> renderer device)
> 02:26:07.050 pjsua_app_comm      Supported capabilities: format,
> window, resize, wndflags
> 02:26:07.051 pjsua_app_comm      Supported formats: RGBA, RGB24, BGRA,
> DIB , YUY2, UYVY, YVYU, I420, YV12, I420JPG, I422JPG
> 02:26:07.052 pjsua_app_comm   -1 mmal service 15.1 [v4l2][capture]
> (default capture device)
> 02:26:07.053 pjsua_app_comm      Supported capabilities: format
> 02:26:07.054 pjsua_app_comm      Supported formats: YUY2, UYVY, RGB24,
> RGBA
> 02:26:07.054 pjsua_app_comm    0 mmal service 15.1 [v4l2][capture]
> 02:26:07.055 pjsua_app_comm      Supported capabilities: format
> 02:26:07.055 pjsua_app_comm      Supported formats: YUY2, UYVY, RGB24,
> RGBA
> 02:26:07.055 pjsua_app_comm    1 Colorbar generator [Colorbar][capture]
> 02:26:07.056 pjsua_app_comm      Supported capabilities: format
> 02:26:07.056 pjsua_app_comm      Supported formats: YUY2, UYVY, YVYU,
> RGBA, RGB24, BGRA, YV12, I420, I422, I420JPG, I422JPG
> 02:26:07.057 pjsua_app_comm    2 SDL renderer [SDL][render]
> 02:26:07.058 pjsua_app_comm      Supported capabilities: format,
> window, resize, wndflags
> 02:26:07.058 pjsua_app_comm      Supported formats: RGBA, RGB24, BGRA,
> DIB , YUY2, UYVY, YVYU, I420, YV12, I420JPG, I422JPG
>
> _*Below are the full logs of a video call:*_
>
> Press a to answer or h to reject call
> a
> Answer with code (100-699) (empty to cancel): 200
> 15:08:06.993   pjsua_call.c !Answering call 0: code=200
> 15:08:06.995  pjsua_media.c  ...Call 0: updating media..
> 15:08:06.996    pjsua_aud.c  ....Audio channel update..
> 15:08:06.998   strm0x4f3abc  .....VAD temporarily disabled
> 15:08:07.009   strm0x4f3abc  .....Encoder stream started
> 15:08:07.011   strm0x4f3abc  .....Decoder stream started
> 15:08:07.012  pjsua_media.c  ....Audio updated, stream #0: speex
> (sendrecv)
> 15:08:07.015    pjsua_vid.c  ....Video channel update..
> 15:08:07.783     alsa_dev.c  pb_thread_func: underrun!
> 15:08:07.834   strm0x4f3abc  VAD re-enabled
> 15:08:07.873 vstenc0x505894  .....Encoder stream started
> 15:08:07.877 vstdec0x505894 !.....Decoder stream started
> 15:08:07.878    pjsua_vid.c  .....Setting up RX..
> 15:08:07.880    pjsua_vid.c  ......Creating video window: type=stream,
> cap_id=-1, rend_id=2
> 15:08:07.881     vid_port.c  .......Opening device SDL renderer [SDL]
> for render: format=I420, size=720x480 @22:1 fps
> 15:08:07.965     vid_port.c !.......Device SDL renderer [SDL] opened:
> format=I420, size=720x480 @22:1 fps
> 15:08:07.966    pjsua_vid.c  .......stream window id 0 created for
> cap_dev=-1 rend_dev=2
> 15:08:07.967    pjsua_vid.c  .......Window 0 created
> 15:08:07.969      sdl_dev.c  ......Starting sdl video stream
> 15:08:07.970    pjsua_vid.c  .....Setting up TX..
> 15:08:07.972    pjsua_vid.c  ......Creating video window:
> type=preview, cap_id=0, rend_id=2
> 15:08:07.973     vid_port.c  .......Opening device mmal service 15.1
> [v4l2] for capture: format=YUY2, size=384x256 @15:1 fps
> 15:08:07.991     vid_port.c  .......Device mmal service 15.1 [v4l2]
> opened: format=YUY2, size=384x256 @15:1 fps
> 15:08:07.998     vid_port.c  .......Opening device SDL renderer [SDL]
> for render: format=I420, size=384x256 @15:1 fps
> 15:08:08.015     vid_port.c !.......Device SDL renderer [SDL] opened:
> format=I420, size=384x256 @15:1 fps
> 15:08:08.017    pjsua_vid.c  .......preview window id 1 created for
> cap_dev=0 rend_dev=2
> 15:08:08.018    pjsua_vid.c  .......Window 1 created
> 15:08:08.019     v4l2_dev.c  ......Starting v4l2 video stream mmal
> service 15.1
> 15:08:08.620 vstenc0x505894 !.....Encoder stream paused
> 15:08:08.622  pjsua_media.c  ....Video updated, stream #1: H264 (sendrecv)
> 15:08:08.623    pjsua_app.c  ...Call 0 media 0 [type=audio], status is
> Active
> 15:08:08.624    pjsua_aud.c  ...Conf disconnect: 2 -x- 0
> 15:08:08.625   conference.c  ....Port 2 (ring) stop transmitting to
> port 0 (default:CARD=Device)
> 15:08:08.627    pjsua_aud.c  ...Conf connect: 3 --> 0
> 15:08:08.627   conference.c  ....Port 3 (sip:888 at 192.168.1.196:34139
> <http://sip:888 at 192.168.1.196:34139>) transmitting to port 0
> (default:CARD=Device)
> 15:08:08.635    pjsua_aud.c !...Conf connect: 0 --> 3
> 15:08:08.637   conference.c  ....Port 0 (default:CARD=Device)
> transmitting to port 3 (sip:888 at 192.168.1.196:34139
> <http://sip:888 at 192.168.1.196:34139>)
> 15:08:08.638    pjsua_app.c  ...Call 0 media 1 [type=video], status is
> Active
> 15:08:08.641   pjsua_core.c  ....TX 959 bytes Response msg
> 200/INVITE/cseq=20 (tdta0x4be420) to UDP 192.168.1.196:1024
> <http://192.168.1.196:1024>:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 192.168.1.196:1024;rport=1024;received=192.168.1.196;branch=
z9hG4bK1034853963
> Call-ID: 1539286028
> From: <sip:888@192.168.1.196
> <mailto:sip%3A888 at 192.168.1.196>>;tag=819227358
> To: <sip:192.168.1.2>;tag=UCSgKdchVLNQLiQt0rlQBm8wAmpABanC
> CSeq: 20 INVITE
> Contact: <sip:192.168.1.2:34137 <http://192.168.1.2:34137>>
> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE,
> NOTIFY, REFER, MESSAGE, OPTIONS
> Supported: replaces, 100rel, timer, norefersub
> Content-Type: application/sdp
> Content-Length:   468
>
> v=0
> o=- 3616758483 3616758484 IN IP4 192.168.1.2
> s=pjmedia
> b=AS:352
> t=0 0
> a=X-nat:0
> m=audio 4000 RTP/AVP 111 101
> c=IN IP4 192.168.1.2
> b=TIAS:64000
> a=rtcp:4001 IN IP4 192.168.1.2
> a=sendrecv
> a=rtpmap:111 speex/16000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> m=video 4002 RTP/AVP 102
> c=IN IP4 192.168.1.2
> b=TIAS:256000
> a=rtcp:4003 IN IP4 192.168.1.2
> a=sendrecv
> a=rtpmap:102 H264/90000
> a=fmtp:102 profile-level-id=428014; packetization-mode=0
>
> --end msg--
> 15:08:08.650    pjsua_app.c  .......Call 0 state changed to CONNECTING
> >>> 15:08:08.844   pjsua_core.c  .RX 384 bytes Request msg ACK/cseq=20
> (rdata0x4accdc) from UDP 192.168.1.196:1024 <http://192.168.1.196:1024>:
> ACK sip:192.168.1.2:34137 <http://192.168.1.2:34137> SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.196:1024;rport;branch=z9hG4bK932698615
> From: <sip:888@192.168.1.196
> <mailto:sip%3A888 at 192.168.1.196>>;tag=819227358
> To: <sip:192.168.1.2>;tag=UCSgKdchVLNQLiQt0rlQBm8wAmpABanC
> Call-ID: 1539286028
> CSeq: 20 ACK
> Contact: <sip:vimphone.android at 192.168.1.196:1024
> <http://sip:vimphone.android at 192.168.1.196:1024>>
> Max-Forwards: 70
> User-Agent: VimphoneAndroid/1.0.8 (eXosip2/3.6.0)
> Content-Length: 0
>
>
> --end msg--
> 15:08:08.846    pjsua_app.c  ...Call 0 state changed to CONFIRMED
> 15:08:08.853   strm0x4f3abc !RTP decode error: Invalid RTP version
> (PJMEDIA_RTP_EINVER) [err:220122]
> 15:08:08.975 vstdec0x505894 !RTP decode error: Invalid RTP version
> (PJMEDIA_RTP_EINVER) [err:220122]
> 15:08:08.978   strm0x4f3abc  RTP decode error: Invalid RTP version
> (PJMEDIA_RTP_EINVER) [err:220122]
> 15:08:09.123   Master/sound !Underflow, buf_cnt=0, will generate 1 frame
> 15:08:09.890 vstdec0x505894 !RTP decode error: Invalid RTP version
> (PJMEDIA_RTP_EINVER) [err:220122]
> 15:08:09.938   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:09.991   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:10.073   Master/sound !Underflow, buf_cnt=0, will generate 1 frame
> 15:08:10.107   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:10.153   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:10.189   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:10.244   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:10.266     alsa_dev.c !ca_thread_func: overrun!
> 15:08:10.313   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:10.329   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:10.538 vstdec0x505894  codec decode() error: Bad or corrupted
> bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087]
> 15:08:10.570 vstdec0x505894  codec decode() error: Bad or corrupted
> bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087]
> 15:08:10.571  pjsua_media.c !Sending video keyframe request via SIP INFO
> 15:08:10.573   pjsua_call.c  Call 0 sending INFO request..
> 15:08:10.575   pjsua_core.c  ...TX 579 bytes Request msg
> INFO/cseq=10919 (tdta0x4be420) to UDP 192.168.1.196:1024
> <http://192.168.1.196:1024>:
> INFO sip:vimphone.android at 192.168.1.196:1024
> <http://sip:vimphone.android at 192.168.1.196:1024> SIP/2.0
> Via: SIP/2.0/UDP
> 192.168.1.2:34137;rport;branch=z9hG4bKPjZlDbYHaM-t.FJoLRSor5SaSzw5bwzOfw
> Max-Forwards: 70
> From: <sip:192.168.1.2>;tag=UCSgKdchVLNQLiQt0rlQBm8wAmpABanC
> To: <sip:888 at 192.168.1.196 <mailto:sip%3A888 at 192.168.1.196>>;tag=819227358
> Call-ID: 1539286028
> CSeq: 10919 INFO
> User-Agent: PJSUA v2.2 Linux-3.12.26/armv6l/glibc-2.13
> Content-Type: application/media_control+xml
> Content-Length:   146
>
> <?xml version="1.0" encoding="utf-8"
> ?><media_control><vc_primitive><to_encoder><picture_fast_update/></to_
encoder></vc_primitive></media_control>
> --end msg--
> 15:08:10.584   pjsua_core.c  .RX 368 bytes Response msg
> 200/INFO/cseq=10919 (rdata0x4accdc) from UDP 192.168.1.196:1024
> <http://192.168.1.196:1024>:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 192.168.1.2:34137;rport=34137;branch=z9hG4bKPjZlDbYHaM-t.
FJoLRSor5SaSzw5bwzOfw
> From: <sip:192.168.1.2>;tag=UCSgKdchVLNQLiQt0rlQBm8wAmpABanC
> To: <sip:888 at 192.168.1.196 <mailto:sip%3A888 at 192.168.1.196>>;tag=819227358
> Call-ID: 1539286028
> CSeq: 10919 INFO
> Contact: <sip:888 at 192.168.1.196:1024 <http://sip:888 at 192.168.1.196:1024>>
> User-Agent: VimphoneAndroid/1.0.8 (eXosip2/3.6.0)
> Content-Length: 0
>
>
> --end msg--
> 15:08:10.594   Master/sound !Underflow, buf_cnt=0, will generate 1 frame
> 15:08:11.503 vstdec0x505894  codec decode() error: Bad or corrupted
> bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087]
> 15:08:11.707      sdl_dev.c  Stopping sdl video stream
> 15:08:11.723      sdl_dev.c  Starting sdl video stream
> 15:08:11.727     alsa_dev.c !pb_thread_func: underrun!
> 15:08:11.806     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.145     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.215     alsa_dev.c !ca_thread_func: overrun!
> 15:08:12.218     alsa_dev.c !pb_thread_func: underrun!
> 15:08:12.268     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.345     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.410     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.474   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:12.576     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.669     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.674     alsa_dev.c !ca_thread_func: overrun!
> 15:08:12.703   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:12.745     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.798   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:12.830     alsa_dev.c  pb_thread_func: underrun!
> 15:08:12.860      sdl_dev.c  Stopping sdl video stream
> 15:08:12.862      sdl_dev.c  Starting sdl video stream
> 15:08:12.932     alsa_dev.c !pb_thread_func: underrun!
> 15:08:13.004     alsa_dev.c  pb_thread_func: underrun!
> 15:08:13.023   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.039   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.058   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.066   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.079   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.094   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.106   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.122   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.136     alsa_dev.c !ca_thread_func: overrun!
> 15:08:13.203   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.208   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.263   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.800     alsa_dev.c  pb_thread_func: underrun!
> 15:08:13.806     alsa_dev.c !ca_thread_func: overrun!
> 15:08:13.842   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.885     alsa_dev.c  pb_thread_func: underrun!
> 15:08:13.955     alsa_dev.c  pb_thread_func: underrun!
> 15:08:13.981   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:13.994   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.001   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.011   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.030   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.039   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.070   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.076   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.084   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.226   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.331   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.358     alsa_dev.c !ca_thread_func: overrun!
> 15:08:14.391   Master/sound !Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.459   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.742     alsa_dev.c  pb_thread_func: underrun!
> 15:08:14.816     alsa_dev.c  pb_thread_func: underrun!
> 15:08:14.914   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:14.926     alsa_dev.c !ca_thread_func: overrun!
> 15:08:14.983   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:15.015     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.081     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.178     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.278     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.346     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.425     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.454     alsa_dev.c !ca_thread_func: overrun!
> 15:08:15.514     alsa_dev.c !pb_thread_func: underrun!
> 15:08:15.584     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.681     alsa_dev.c !pb_thread_func: underrun!
> 15:08:15.738     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.840     alsa_dev.c  pb_thread_func: underrun!
> 15:08:15.872   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:15.886   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:15.975     alsa_dev.c !ca_thread_func: overrun!
> 15:08:16.020     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.021   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
> 15:08:16.069     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.159     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.225     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.295     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.360     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.463     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.483     alsa_dev.c !ca_thread_func: overrun!
> 15:08:16.534     alsa_dev.c !pb_thread_func: underrun!
> 15:08:16.608     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.691     alsa_dev.c  pb_thread_func: underrun!
> 15:08:16.717   pjsua_core.c  .RX 372 bytes Request msg BYE/cseq=21
> (rdata0x4accdc) from UDP 192.168.1.196:1024 <http://192.168.1.196:1024>:
> BYE sip:192.168.1.2:34137 <http://192.168.1.2:34137> SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.196:1024;rport;branch=z9hG4bK1756188486
> From: <sip:888@192.168.1.196
> <mailto:sip%3A888 at 192.168.1.196>>;tag=819227358
> To: <sip:192.168.1.2>;tag=UCSgKdchVLNQLiQt0rlQBm8wAmpABanC
> Call-ID: 1539286028
> CSeq: 21 BYE
> Contact: <sip:888 at 192.168.1.196:1024 <http://sip:888 at 192.168.1.196:1024>>
> Max-Forwards: 70
> User-Agent: VimphoneAndroid/1.0.8 (eXosip2/3.6.0)
> Content-Length: 0
>
>
> --end msg--
> 15:08:16.725   pjsua_core.c  .......TX 274 bytes Response msg
> 200/BYE/cseq=21 (tdta0x4be420) to UDP 192.168.1.196:1024
> <http://192.168.1.196:1024>:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 192.168.1.196:1024;rport=1024;received=192.168.1.196;branch=
z9hG4bK1756188486
> Call-ID: 1539286028
> From: <sip:888@192.168.1.196
> <mailto:sip%3A888 at 192.168.1.196>>;tag=819227358
> To: <sip:192.168.1.2>;tag=UCSgKdchVLNQLiQt0rlQBm8wAmpABanC
> CSeq: 21 BYE
> Content-Length:  0
>
>
> --end msg--
> 15:08:16.726    pjsua_app.c  ......Call 0 is DISCONNECTED [reason=200
> (Normal call clearing)]
> 15:08:16.737 pjsua_app_comm  ......
> [DISCONNCTD] To: <sip:888 at 192.168.1.196
> <mailto:sip%3A888 at 192.168.1.196>>;tag=819227358
>   Call time: 00h:00m:07s, 1st res in 3815 ms, conn in 5667ms
>   #0 audio speex @16kHz, sendrecv, peer=192.168.1.196:7078
> <http://192.168.1.196:7078>
>      SRTP status: Not active Crypto-suite:
>      RX pt=111, last update:00h:00m:03.907s ago
>         total 143pkt 10.0KB (15.7KB +IP hdr) @avg=8.2Kbps/12.9Kbps
>         pkt loss=0 (0.0%), discrd=3 (2.1%), dup=0 (0.0%), reord=0 (0.0%)
>               (msec)    min     avg     max last    dev
>         loss period:   0.000   0.000   0.000 0.000   0.000
>         jitter     :   0.000   1.285   4.250 3.125   1.003
>      TX pt=111, ptime=20, last update:00h:00m:05.378s ago
>         total 260pkt 16.2KB (26.6KB +IP hdr) @avg=13.3Kbps/21.8Kbps
>         pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%)
>               (msec)    min     avg     max last    dev
>         loss period:   0.000   0.000   0.000 0.000   0.000
>         jitter     :   4.750   5.781   6.812 4.750   1.031
>      RTT msec      :   5.493   5.493   5.493 5.493   0.000
>   #1 video H264, sendrecv, peer=192.168.1.196:9078
> <http://192.168.1.196:9078>
>      SRTP status: Not active Crypto-suite:
>      RX pt=102, size=240x320, fps=16.67, last update:00h:00m:06.196s ago
>         total 159pkt 140.2KB (146.6KB +IP hdr) @avg=126.5Kbps/132.3Kbps
>         pkt loss=0 (0.0%), discrd=3 (1.9%), dup=0 (0.0%), reord=0 (0.0%)
>               (msec)    min     avg     max last    dev
>         loss period:   0.000   0.000   0.000 0.000   0.000
>         jitter     :   2.233  26.125  49.000  48.000  13.477
>      TX pt=102, size=384x256, fps=15.00, last update:never
>         total 0pkt 0B (0B +IP hdr) @avg=0bps/0bps
>         pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%)
>               (msec)    min     avg     max last    dev
>         loss period:   0.000   0.000   0.000 0.000   0.000
>         jitter     :   0.000   0.000   0.000 0.000   0.000
>      RTT msec      :   0.000   0.000   0.000 0.000   0.000
> 15:08:16.762  pjsua_media.c  ......Call 0: deinitializing media..
> 15:08:16.771  pjsua_media.c  ........Media stream call00:0 is destroyed
> 15:08:16.772    pjsua_vid.c  ........Stopping video stream..
> 15:08:16.784     alsa_dev.c !pb_thread_func: underrun!
> 15:08:16.784     v4l2_dev.c !.........Stopping v4l2 video stream mmal
> service 15.1
> 15:08:17.815     alsa_dev.c !ca_thread_func: overrun!
> 15:08:17.816    pjsua_vid.c !.........Window 1: destroying..
> 15:08:17.817     v4l2_dev.c  ..........Stopping v4l2 video stream mmal
> service 15.1
> 15:08:17.818     vid_port.c  ..........Closing mmal service 15.1..
> 15:08:17.819     v4l2_dev.c  ..........Stopping v4l2 video stream mmal
> service 15.1
> 15:08:17.821     v4l2_dev.c  ..........Destroying v4l2 video stream
> mmal service 15.1
> 15:08:17.823      sdl_dev.c  ..........Stopping sdl video stream
> 15:08:17.825     vid_port.c  ..........Closing SDL renderer..
> 15:08:17.826      sdl_dev.c  ..........Stopping sdl video stream
> 15:08:17.849      sdl_dev.c !.........Stopping sdl video stream
> 15:08:17.849    pjsua_vid.c  .........Window 0: destroying..
> 15:08:17.850      sdl_dev.c  ..........Stopping sdl video stream
> 15:08:17.851     vid_port.c  ..........Closing SDL renderer..
> 15:08:17.852      sdl_dev.c  ..........Stopping sdl video stream
> 15:08:17.907  pjsua_media.c  ........Media stream call00:1 is destroyed
> 15:08:17.922    pjsua_aud.c  Closing sound device after idle for 1
> second(s)
> 15:08:17.922    pjsua_app.c  .Turning sound device OFF
> 15:08:17.923    pjsua_aud.c  .Closing default:CARD=ALSA sound playback
> device and default:CARD=Device sound capture device
>
>
>
>
>
> BR
> Deepak
>
>
>
> _______________________________________________
> 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/20140811/e9f2eeac/attachment-0001.html
>

------------------------------

Subject: Digest Footer

_______________________________________________
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/20140811/a2bf1ee7/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