WebRTC support in Qt WebKit
-
wrote on 15 Jan 2013, 08:08 last edited by
I am completly new to QT webkit .
Recently there has been an increase in the applications using WebRTC framework. So I have to run the same applications in Qt Webkit. Bascially there are 2 doubts
- Does Qt 4.8.4 support WebRTC framework?
- If not how should i build webkit to have a suppport for it
Browsers like google chrome , firefox all are having support for it.
-
wrote on 15 Jan 2013, 08:18 last edited by
I believe that "webkit":http://en.wikipedia.org/wiki/WebKit is the keyword. It seems that WebRTC support webkit and the "Qt port of WebKit":http://trac.webkit.org/wiki/QtWebKit currently runs successfully on Windows, Mac OS and Linux.
-
wrote on 15 Jan 2013, 08:29 last edited by
WebRTc is an extension to webkit by which browser to browser RTC is possible . Lots of applications are getting relased . I was wondering if same applications could also run on Qt Webkit . I searched a lot in net . Please help
-
wrote on 15 Jan 2013, 08:36 last edited by
[quote author="John_Britas" date="1358238556"]WebRTc is an extension to webkit by which browser to browser RTC is possible . Lots of applications are getting relased . I was wondering if same applications could also run on Qt Webkit . I searched a lot in net . Please help[/quote]
Webkit supports WebRTC so you just have to read carefully Qt Webkit documentation and to run examples to find out with with versions you WebRTC app works fine.
-
wrote on 15 Jan 2013, 08:43 last edited by
No ..what i actually meant is that browser webkits for google,firefox are supporting it . I searched Qt documentation . Nowhere is mentioning about WebRTC
-
wrote on 15 Jan 2013, 08:46 last edited by
[quote author="John_Britas" date="1358239401"]I searched Qt documentation . Nowhere is mentioning about WebRTC[/quote]
Yes, because Qt supports WebKit, WebKit supports WebRTC :)
-
wrote on 15 Jan 2013, 09:04 last edited by
But webrtc is a relatively new terminology
-
wrote on 15 Jan 2013, 10:56 last edited by
Is there any sample example available that shows how to enable MediaStream in the Webkit 2 that ships with QT 5.0 or we have to rebuild webkit with media stream?
Lets say MediaStream is enabled how to allow the webkit to access webcam??
I tried loading the webrtc demo app in the QML webview (QtWebKit 3.0) but server says the webrtc support is not enabled?? Is there any setting we have to do in QML??
Honestly there is nothing about it in documentation.
-
wrote on 15 Jan 2013, 12:09 last edited by
[quote author="ronghester" date="1358247402"]Is there any sample example available that shows how to enable MediaStream in the Webkit 2 that ships with QT 5.0 or we have to rebuild webkit with media stream?
[/quote]I googled the same for porting to Android just to get a hit. i got these
"The WebRTC code in WebKit is surrounded by a flag (MEDIA_STREAM) and if that flag is not defined at compile time no JS bindings, nor anything else, will be created. "
Quotes from https://groups.google.com/forum/#!msg/discuss-webrtc/ae6mUClasX8/glDFGXlojSAJ
Still doesn't get an idea on how to port WebRTC to Qt Webkit
-
wrote on 15 Jan 2013, 12:45 last edited by
new Webkit 2 libraries are only included in QtQuick 2 which is part of Qt 5. So Qt 4.8.4 does not support webRTC unless you know how to use QTQuick 2 for it. Some expert guys have done a video on it www.youtube.com/watch?v=Vm5ebKWKNE8
Qt 5 include QTQuick 2 but there no documentation available regarding webkit 2 & webRTC. I think we should just wait.
7/10