PJSIP VIDEO device enumeration problem!

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

 



Hi guys!

 

Sleepless night and I was able to start watching a Web camera. It does not
matter what version of Visual Studio to compile the application in 2005 or
in 2012.

I created an empty Win32 console application, and it worked!

 

Before that I did DLL from which exported some functions and preview did not
work!

 

Get the following:

If the same code called from. Exe everything works, if from ".dll" does not
work!

 

I also noticed that the size ".exe" file is 2.15MB, while the size ".dll"
file (with exactly the same code) is 1.8MB, maybe in ".dll" linked not all?

 

Guys who has any suggestions?

 

Thank you in advance for any advice.

 

 

From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of ?????
???????
Sent: Friday, January 11, 2013 5:23 PM
To: 'pjsip list'
Subject: Re: PJSIP VIDEO device enumeration problem!

 

#elif defined(linux) || defined(__linux)

// :

void VidWin::show_sdl(bool visible)

// :

 

show_sdl() function available in linux platform only :

 

set the pre_param.show = PJ_TRUE;

I try but no effect, window show on startup with color table :

 

I think that the problem is about DirectShow, maybe I used the wrong DirectX
SDK version ... but then inexplicably pjsua working correctly ....

 

From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of Sandeep
Karanth
Sent: Friday, January 11, 2013 4:58 PM
To: pjsip list
Subject: Re: PJSIP VIDEO device enumeration problem!

 

I guess could be an issue with the preview function

May be you could try couple of things

 1) set the pre_param.show = PJ_TRUE;

 2)//video_prev_->show_sdl(); uncomment this and  give a try.

 

Hopefully should work!

On Fri, Jan 11, 2013 at 6:08 PM, ????? ??????? <virtnet at mail.ru> wrote:

Yes I tested pjsua application with command: 
vid dev prev on 0

 

Preview works fine :

 

From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of Sandeep
Karanth
Sent: Friday, January 11, 2013 4:01 PM
To: pjsip list
Subject: Re: PJSIP VIDEO device enumeration problem!

 

"Now comes the fun part! pjsua compiled and is working properly, the command
"vid dev list" shows 5 devices including my Web camera"

 

After this did u try running the pjsua command line app and get a preview of
your camera ?? Did that succeed?

On Fri, Jan 11, 2013 at 5:19 PM, Fedot Fedotov <fedot.fedotov at gmail.com>
wrote:

Use VS 2005 (or VS 2008 in a pinch) and search PJSIP forum about my posts -
I have already posted instructions how to build and run pjsua app under Win7

_______________________________________________
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

 


_______________________________________________
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/20130112/b1517d23/attachment-0001.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