Unable to make video call using pjsip 2.5.5

SR
Srinivasa Raghavan Sundararajan
Fri, Mar 17, 2017 12:13 PM

Hi,
I have been trying to make a video call pjsip 2.5.5, but could not able to make it up.
Initially, I have tried as follows
$ pjsua-x86_64-unknown-linux-gnu --video --vcapture-dev=-1 --vrender=-2 sip:127.0.0.1:5060   ( for loop back )

where I cannot  able to see anything on the screen, when I tried with vid commands, a new blank windows screen is displayed.
My setup:- ubuntu 16.04- In-build camera- USB C310 logitech webcam
Next I have tried with vidgui, but when I select preview screen, a new window opened with combination on colors. I could not able to see anything from camera.

Here below is the log information:---------------------------------------------------17:41:02.809   pjsua_core.c  .1 SIP worker threads created
17:41:02.809   pjsua_core.c  .pjsua version 2.5 for Linux-4.4.0.66/x86_64/glibc-2.23 initialized
17:41:02.809   pjsua_core.c  .PJSUA state changed: CREATED --> INIT
17:41:02.810   pjsua_core.c  SIP UDP socket reachable at 10.0.2.159:5080
17:41:02.810   udp0x263f130  SIP UDP transport started, published address is 10.0.2.159:5080
17:41:02.810    tcptp:36343  SIP TCP listener ready for incoming connections at 10.0.2.159:36343
17:41:02.810    pjsua_acc.c  Adding account: id=sip:vidgui@10.0.2.159:5080
17:41:02.810    pjsua_acc.c  .Account sip:vidgui@10.0.2.159:5080 added with id 0
17:41:02.810     vidgui.cpp  Starting stack..
17:41:02.810   pjsua_core.c  PJSUA state changed: INIT --> STARTING
17:41:02.810 sip_endpoint.c  .Module "mod-unsolicited-mwi" registered
17:41:02.810   pjsua_core.c  .PJSUA state changed: STARTING --> RUNNING
17:41:02.810     vidgui.cpp  Ready
17:41:02.810 sip_endpoint.c  Module "mod-default-handler" registered
17:41:06.176    pjsua_vid.c  Starting preview for cap_dev=-1, show=0
17:41:06.176    pjsua_vid.c  .Creating video window: type=preview, cap_id=-1, rend_id=-2
17:41:06.176     vid_port.c  ..Opening device Colorbar generator [Colorbar] for capture: format=YUY2, size=352x288 @25:1 fps
17:41:06.176     vid_port.c  ..Device Colorbar generator [Colorbar] opened: format=YUY2, size=352x288 @25:1 fps
17:41:06.176     vid_port.c  ..Opening device SDL renderer [SDL] for render: format=YUY2, size=352x288 @25:1 fps
17:41:06.229     vid_port.c  ..Device SDL renderer [SDL] opened: format=YUY2, size=352x288 @25:1 fps
17:41:06.229    pjsua_vid.c  ..preview window id 0 created for cap_dev=1 rend_dev=-2
17:41:06.229    pjsua_vid.c  ..Window 0 created
17:41:06.229      sdl_dev.c  .Starting sdl video stream
17:41:06.229 colorbar_dev.c  .Starting cbar video stream
17:41:06.231     vidwin.cpp  0x4c00007 size = 352x288
17:41:06.231     vidwin.cpp  0x4c00007 new parent handle = 0x5200029, err = 1
17:41:06.231     vidwin.cpp  [0x25828a0,0x4c00007] new size = 352x288, err = 1
17:41:06.231     vidgui.cpp  Preview started

Please help me understand the issue. Thanks in Advance.

Regards,Srinivasa Raghavan.

Hi, I have been trying to make a video call pjsip 2.5.5, but could not able to make it up. Initially, I have tried as follows $ pjsua-x86_64-unknown-linux-gnu --video --vcapture-dev=-1 --vrender=-2 sip:127.0.0.1:5060   ( for loop back ) where I cannot  able to see anything on the screen, when I tried with vid commands, a new blank windows screen is displayed. My setup:- ubuntu 16.04- In-build camera- USB C310 logitech webcam Next I have tried with vidgui, but when I select preview screen, a new window opened with combination on colors. I could not able to see anything from camera. Here below is the log information:---------------------------------------------------17:41:02.809   pjsua_core.c  .1 SIP worker threads created 17:41:02.809   pjsua_core.c  .pjsua version 2.5 for Linux-4.4.0.66/x86_64/glibc-2.23 initialized 17:41:02.809   pjsua_core.c  .PJSUA state changed: CREATED --> INIT 17:41:02.810   pjsua_core.c  SIP UDP socket reachable at 10.0.2.159:5080 17:41:02.810   udp0x263f130  SIP UDP transport started, published address is 10.0.2.159:5080 17:41:02.810    tcptp:36343  SIP TCP listener ready for incoming connections at 10.0.2.159:36343 17:41:02.810    pjsua_acc.c  Adding account: id=sip:vidgui@10.0.2.159:5080 17:41:02.810    pjsua_acc.c  .Account sip:vidgui@10.0.2.159:5080 added with id 0 17:41:02.810     vidgui.cpp  Starting stack.. 17:41:02.810   pjsua_core.c  PJSUA state changed: INIT --> STARTING 17:41:02.810 sip_endpoint.c  .Module "mod-unsolicited-mwi" registered 17:41:02.810   pjsua_core.c  .PJSUA state changed: STARTING --> RUNNING 17:41:02.810     vidgui.cpp  Ready 17:41:02.810 sip_endpoint.c  Module "mod-default-handler" registered 17:41:06.176    pjsua_vid.c  Starting preview for cap_dev=-1, show=0 17:41:06.176    pjsua_vid.c  .Creating video window: type=preview, cap_id=-1, rend_id=-2 17:41:06.176     vid_port.c  ..Opening device Colorbar generator [Colorbar] for capture: format=YUY2, size=352x288 @25:1 fps 17:41:06.176     vid_port.c  ..Device Colorbar generator [Colorbar] opened: format=YUY2, size=352x288 @25:1 fps 17:41:06.176     vid_port.c  ..Opening device SDL renderer [SDL] for render: format=YUY2, size=352x288 @25:1 fps 17:41:06.229     vid_port.c  ..Device SDL renderer [SDL] opened: format=YUY2, size=352x288 @25:1 fps 17:41:06.229    pjsua_vid.c  ..preview window id 0 created for cap_dev=1 rend_dev=-2 17:41:06.229    pjsua_vid.c  ..Window 0 created 17:41:06.229      sdl_dev.c  .Starting sdl video stream 17:41:06.229 colorbar_dev.c  .Starting cbar video stream 17:41:06.231     vidwin.cpp  0x4c00007 size = 352x288 17:41:06.231     vidwin.cpp  0x4c00007 new parent handle = 0x5200029, err = 1 17:41:06.231     vidwin.cpp  [0x25828a0,0x4c00007] new size = 352x288, err = 1 17:41:06.231     vidgui.cpp  Preview started Please help me understand the issue. Thanks in Advance. Regards,Srinivasa Raghavan.