WebRTC support in Qt WebKit



  • 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

    1. Does Qt 4.8.4 support WebRTC framework?
    2. If not how should i build webkit to have a suppport for it

    Browsers like google chrome , firefox all are having support for it.



  • 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.



  • 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 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.



  • No ..what i actually meant is that browser webkits for google,firefox are supporting it . I searched Qt documentation . Nowhere is mentioning about WebRTC



  • [quote author="John_Britas" date="1358239401"]I searched Qt documentation . Nowhere is mentioning about WebRTC[/quote]

    Yes, because Qt supports WebKit, WebKit supports WebRTC :)



  • But webrtc is a relatively new terminology



  • 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.



  • [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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.