[pjsip] vidgui application not working in windows 7. It has some bugs???

tapas tapascst at gmail.com
Thu Jun 14 02:41:47 EDT 2012


Hi,


I have installed pjsip 2.0  in windows. I can make TLS supported video
calls from pjsua-app/bin/pjsua-i386-Win32-vc8-Debug.exe sip client (using
rtpproxy and kamailio sip server) to another
pjsua-app/bin/pjsua-i386-Win32-vc8-Debug.exe sip client.

I never faced any problem for video calls if I use
pjsua-app/bin/pjsua-i386-Win32-vc8-Debug.exe .

But if I use pjsua-app/src/vidgui app and click on start preview then i
unable to see my own preview video. I attached screenshot in windows 7.

 I already installed QT SDK 1.2.1  from nokia website and I was able to
build vidgui (debug edition) using visual studio express 2008 without any
problem. But the same vidgui application is working perfectly in linux with
same camera.


12:01:59.710 sip_endpoint.c  .Module "mod-pjsua-log" registered
12:01:59.710 sip_endpoint.c  .Module "mod-tsx-layer" registered
12:01:59.710 sip_endpoint.c  .Module "mod-stateful-util" registered
12:01:59.710 sip_endpoint.c  .Module "mod-ua" registered
12:01:59.710 sip_endpoint.c  .Module "mod-100rel" registered
12:01:59.710 sip_endpoint.c  .Module "mod-pjsua" registered
12:01:59.710 sip_endpoint.c  .Module "mod-invite" registered
12:01:59.720     wmme_dev.c  ..WMME found 4 devices:
12:01:59.720     wmme_dev.c  .. dev_id 0: Wave mapper  (in=2, out=2)
12:01:59.720     wmme_dev.c  .. dev_id 1: Front Microphone (Conexant HD A
(in=2, out=0)
12:01:59.720     wmme_dev.c  .. dev_id 2: Stereo Mix (Conexant HD Audio)
(in=2, out=0)
12:01:59.720     wmme_dev.c  .. dev_id 3: Speakers (Conexant HD Audio)
(in=0, out=2)
12:01:59.720     wmme_dev.c  ..WMME initialized
12:01:59.720          pjlib  ..select() I/O Queue created (0182ABE4)
12:01:59.721   conference.c  ..Creating conference bridge with 254 ports
12:01:59.721   Master/sound  ..Using delay buffer with WSOLA.
12:01:59.723    pjsua_vid.c  ..Initializing video subsystem..
12:01:59.723 ffmpeg_vid_cod  ...The H263-1998 decoder is using base codec
(H263)
12:01:59.723    dshow_dev.c  ...Failed initializing DShow: COM library
already initialized with incompatible concurrency model
12:01:59.723 colorbar_dev.c  ...Colorbar video src initialized with 1
device(s):
12:01:59.723 colorbar_dev.c  ... 0: Colorbar generator
12:01:59.724      sdl_dev.c  ...SDL 1.3 initialized
12:01:59.724 sip_endpoint.c  .Module "mod-evsub" registered
12:01:59.724 sip_endpoint.c  .Module "mod-presence" registered
12:01:59.724        evsub.c  .Event pkg "presence" registered by
mod-presence
12:01:59.724 sip_endpoint.c  .Module "mod-mwi" registered
12:01:59.724        evsub.c  .Event pkg "message-summary" registered by
mod-mwi
12:01:59.724 sip_endpoint.c  .Module "mod-refer" registered
12:01:59.724        evsub.c  .Event pkg "refer" registered by mod-refer
12:01:59.724 sip_endpoint.c  .Module "mod-pjsua-pres" registered
12:01:59.724 sip_endpoint.c  .Module "mod-pjsua-im" registered
12:01:59.724 sip_endpoint.c  .Module "mod-pjsua-options" registered
12:01:59.724   pjsua_core.c  .1 SIP worker threads created
12:01:59.724   pjsua_core.c  .pjsua version 2.0 for
win32-6.1/i386/msvc-15.0 initialized
12:01:59.724   pjsua_core.c  .PJSUA state changed: CREATED --> INIT
12:01:59.725   pjsua_core.c  SIP UDP socket reachable at 192.168.1.6:5080
12:01:59.725    udp01840B90  SIP UDP transport started, published address
is 192.168.1.6:5080
12:01:59.727   tcplis:49304  SIP TCP listener ready for incoming
connections at 192.168.1.6:49304
12:01:59.727    pjsua_acc.c  Adding account: id=sip:vidgui at 192.168.1.6:5080
12:01:59.727    pjsua_acc.c  .Account sip:vidgui at 192.168.1.6:5080 added
with id 0
12:01:59.727     vidgui.cpp  Starting stack..
12:01:59.727   pjsua_core.c  PJSUA state changed: INIT --> STARTING
12:01:59.727  pjsua_media.c  ..NAT type detection failed: Invalid STUN
server or server not configured (PJNATH_ESTUNINSERVER)
12:01:59.727 sip_endpoint.c  .Module "mod-unsolicited-mwi" registered
12:01:59.727   pjsua_core.c  .PJSUA state changed: STARTING --> RUNNING
12:01:59.727     vidgui.cpp  Ready
12:01:59.727 sip_endpoint.c  Module "mod-default-handler" registered
12:02:01.842    pjsua_vid.c  Starting preview for cap_dev=-1, show=0
12:02:01.842    pjsua_vid.c  .Creating video window: type=preview,
cap_id=-1, rend_id=-2
12:02:01.842     vid_port.c  ..Opening device Colorbar generator [Colorbar]
for capture: format=YUY2, size=352x288 @25:1 fps
12:02:01.842     vid_port.c  ..Device Colorbar generator [Colorbar] opened:
format=YUY2, size=352x288 @25:1 fps
12:02:01.843     vid_port.c  ..Opening device SDL renderer [SDL] for
render: format=YUY2, size=352x288 @25:1 fps
12:02:01.878     vid_port.c  ..Device SDL renderer [SDL] opened:
format=YUY2, size=352x288 @25:1 fps
12:02:01.879    pjsua_vid.c  ..preview window id 0 created for cap_dev=0
rend_dev=-2
12:02:01.879    pjsua_vid.c  ..Window 0 created
12:02:01.879      sdl_dev.c  .Starting sdl video stream
12:02:01.879 colorbar_dev.c  .Starting cbar video stream
12:02:01.881     vidwin.cpp  0003031C size = 353x289
12:02:01.978     vidwin.cpp  0003031C new parent handle = 00030332
12:02:02.132     vidwin.cpp  0003031C new size = 353x289
12:02:02.333     vidgui.cpp  Preview started
12:02:05.933     vidwin.cpp  0003031C revert parent handle to 00000000
12:02:05.934   pjsua_core.c  Shutting down, flags=0...
12:02:05.934   pjsua_core.c  PJSUA state changed: RUNNING --> CLOSING
12:02:05.935          pjsua !Thread stack max usage=1645 by
c:\pjproject-2.0\pjproject-2.0\pjlib\src\pj\os_core_win32.c:944
12:02:05.935   pjsua_call.c !.Hangup all calls..
12:02:05.935   pjsua_pres.c  .Shutting down presence..
12:02:05.935  pjsua_media.c  .Shutting down media..
12:02:05.935  pjsua_media.c  ..Call 0: deinitializing media..
12:02:05.935  pjsua_media.c  ..Call 1: deinitializing media..
12:02:05.935  pjsua_media.c  ..Call 2: deinitializing media..
12:02:05.935  pjsua_media.c  ..Call 3: deinitializing media..
12:02:05.935    pjsua_vid.c  ..Destroying video subsystem..
12:02:05.935    pjsua_vid.c  ...Window 0: destroying..
12:02:05.958          clock !Thread stack max usage=1349 by
c:\pjproject-2.0\pjproject-2.0\pjlib\src\pj\os_core_win32.c:1139
12:02:05.958 colorbar_dev.c !....Stopping cbar video stream
12:02:05.958     vid_port.c  ....Closing Colorbar generator..
12:02:05.958 colorbar_dev.c  ....Stopping cbar video stream
12:02:05.958      sdl_dev.c  ....Stopping sdl video stream
12:02:05.958     vid_port.c  ....Closing SDL renderer..
12:02:05.958      sdl_dev.c  ....Stopping sdl video stream
12:02:05.962    pjsua_vid.c  ...Window 1: destroying..
12:02:05.962    pjsua_vid.c  ...Window 2: destroying..
12:02:05.962    pjsua_vid.c  ...Window 3: destroying..
12:02:05.962    pjsua_vid.c  ...Window 4: destroying..
12:02:05.962    pjsua_vid.c  ...Window 5: destroying..
12:02:05.962    pjsua_vid.c  ...Window 6: destroying..
12:02:05.962    pjsua_vid.c  ...Window 7: destroying..
12:02:05.963    pjsua_vid.c  ...Window 8: destroying..
12:02:05.963    pjsua_vid.c  ...Window 9: destroying..
12:02:05.963    pjsua_vid.c  ...Window 10: destroying..
12:02:05.963    pjsua_vid.c  ...Window 11: destroying..
12:02:05.963    pjsua_vid.c  ...Window 12: destroying..
12:02:05.963    pjsua_vid.c  ...Window 13: destroying..
12:02:05.963    pjsua_vid.c  ...Window 14: destroying..
12:02:05.963    pjsua_vid.c  ...Window 15: destroying..
12:02:05.984     sdl_thread !Thread stack max usage=509 by
c:\pjproject-2.0\pjproject-2.0\pjlib\src\pj\os_core_win32.c:1139
12:02:05.984         job_th !Thread stack max usage=957 by
c:\pjproject-2.0\pjproject-2.0\pjlib\src\pj\os_core_win32.c:944
12:02:05.984      ev_thread !Thread stack max usage=381 by
c:\pjproject-2.0\pjproject-2.0\pjlib\src\pj\os_core_win32.c:1139
12:02:06.222          media !Thread stack max usage=1429 by
c:\pjproject-2.0\pjproject-2.0\pjlib\src\pj\os_core_win32.c:944
12:02:07.222   pjsua_core.c !.Destroying...
12:02:07.222 sip_endpoint.c  .Destroying endpoing instance..
12:02:07.222 sip_transactio  .Stopping transaction layer module
12:02:07.222 sip_transactio  .Stopped transaction layer module
12:02:07.222 sip_endpoint.c  .Module "mod-default-handler" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-unsolicited-mwi" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-pjsua-options" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-pjsua-im" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-pjsua-pres" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-pjsua" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-stateful-util" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-refer" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-mwi" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-presence" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-evsub" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-invite" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-100rel" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-ua" unregistered
12:02:07.222 sip_transactio  .Transaction layer module destroyed
12:02:07.222 sip_endpoint.c  .Module "mod-tsx-layer" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-msg-print" unregistered
12:02:07.222 sip_endpoint.c  .Module "mod-pjsua-log" unregistered
12:02:07.222 sip_transport.  .Destroying transport manager
12:02:07.223   tcplis:49304  .SIP TCP listener destroyed
12:02:07.223 sip_endpoint.c  .Endpoint 017EEEE4 destroyed
12:02:07.223   pjsua_core.c  .PJSUA state changed: CLOSING --> NULL
12:02:07.223   pjsua_core.c  .PJSUA destroyed...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120614/c293fa46/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vidgui preview not working.png
Type: image/png
Size: 91249 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120614/c293fa46/attachment-0001.png>


More information about the pjsip mailing list