peerconnection Qt sample app

1,919 views
Skip to first unread message

Amit Nishry

unread,
Oct 10, 2012, 10:11:11 AM10/10/12
to discuss...@googlegroups.com
Hi all,

I'm try to port peerconnection ( native sample to Qt ) for Windows and Linux, I I managed to build, both client and server using gclient runhooks and make.
Now I'm trying to create a Qt project that will have only the peerconnection client core and just link the relevant libs that where build with the provided sample.
Where can I find the core libs that are need to run peerconnection client ?

Thanks,
Amit

medusade

unread,
Oct 11, 2012, 3:09:36 PM10/11/12
to discuss...@googlegroups.com
The key is to create a libJingle app with the hooks in for feeding the Qt message loop...

crmoratelli

unread,
Oct 15, 2012, 9:14:33 AM10/15/12
to discuss...@googlegroups.com
Hi Amit,

I am trying to do exactly the same. 

I started by the "getting started tutorial" (http://www.webrtc.org/reference/getting-started). Now, I am trying to link the generated libs (peer_connection/trunk/build/Release/lib) into a QT application.

I am not sure if this is the right direction. I would be glad to exchange experience.

regards.

medusade

unread,
Apr 25, 2013, 8:09:43 AM4/25/13
to discuss...@googlegroups.com, crmor...@gmail.com
Hi I've put a sample Qt peerconnection_client that works with the older code at github.com/medusade  You could look at this to see if it helps.
medusade

On Friday, April 19, 2013 12:24:09 PM UTC-7, Pau Ceano wrote:
Hi,

I am also working on this. I have compiled the demo and now I am going to try to do a Qt project.
Did you have any success.

thanks,

Pau

Udit Agarwal

unread,
Apr 25, 2013, 8:42:10 AM4/25/13
to discuss...@googlegroups.com
@amit
Can you please tell me how to build the libs?? because I followed the steps but couldn't. I also tried gclient runhooks and make BUILDTYPE=Release but not getting it. Any help would do. 


--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Udit Agarwal
B.Tech. ( Information Technology ) , 8th Semester,
Indian Institute of Information Technology
Allahabad - 211012, India
Email : udit...@gmail.com
Mobile: +91-9411656264

Pau Ceano

unread,
Apr 29, 2013, 12:30:03 PM4/29/13
to discuss...@googlegroups.com
Thanks medusae,

Actually your project is more ambitious. I am just trying to compile peer_connection using Qt instead of Windows API. I am working now in VS10 even if I pretend to make it cross-platform once I fully understand all details. I actually didn't try to make your project but I am looking at it as an example. I will update when I have something running but anyway it will be a sample project, as said your project is something more serious.

best,

Pau




--
 
---
You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/discuss-webrtc/6GfGGdkosHM/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.

Pau Ceano

unread,
Jun 10, 2013, 7:08:06 AM6/10/13
to discuss...@googlegroups.com
Hi,

Amit, the libjingle project has everything you need.
I managed to compile a Qt application for windows based in peerconnection client example. Actually it is not that difficult, but it is alway tricky to mix libraries.
I do not want to post my code because it is not really elegant, just a POC now, but feel free to ask for any details...
I'll go for Linux and android now...

best,

Pau

Pau Ceano

unread,
Jun 10, 2013, 7:59:28 AM6/10/13
to discuss...@googlegroups.com
Hi,

Actually what I did was to use the libjingle_all.sln in .\trunk\talk to build the libraries. Then I made a Visual 2010 properties page with all the settings.
My Qt project is a QtWebRTC2.vcxproj. I use Visual 2010 instead of QtCreator. I can send you the project an properties page if it is usefull to you.
Think that webrtc is compiled using static libraries and Qt using dinamic libraries, so, that has to be changed in webrtc projects (I think in Qt is impossible to use static libs) and rebuild all before you can link.

I resolved the problem with emit/slot isolating the code. I do not use any module were sigslot.h and Qt are included. Actually I think the best aproach is to keep separated webrtc utilites from Qt, even if it is not trivial.

best,

Pau

Note: If you are brazilian you can call me Paulo, I know the jokes :-)


On Mon, Jun 10, 2013 at 1:37 PM, Wellington Soares <well...@gmail.com> wrote:
Hello, Pau Ceano,

I really tried to compile the libjingle.sln on a new project_qt.pro using the Visual Studio compiler. However, I had some dificulties, like reproduce the same Flags on Visual Studio (\GY \MTd), disable the QT_KEYWORDS (reserved word emit/slot), and other problems that I couldn't fix.


Can you post to us, only your file .pro?

Thanks in advance

Regards
Wellington Soares
Reply all
Reply to author
Forward
0 new messages