Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. WebRTC support in Qt WebKit

WebRTC support in Qt WebKit

Scheduled Pinned Locked Moved Qt WebKit
10 Posts 3 Posters 14.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    John_Britas
    wrote on 15 Jan 2013, 08:08 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on 15 Jan 2013, 08:18 last edited by
      #2

      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.

      http://anavi.org/

      1 Reply Last reply
      0
      • J Offline
        J Offline
        John_Britas
        wrote on 15 Jan 2013, 08:29 last edited by
        #3

        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

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on 15 Jan 2013, 08:36 last edited by
          #4

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

          http://anavi.org/

          1 Reply Last reply
          0
          • J Offline
            J Offline
            John_Britas
            wrote on 15 Jan 2013, 08:43 last edited by
            #5

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

            1 Reply Last reply
            0
            • L Offline
              L Offline
              leon.anavi
              wrote on 15 Jan 2013, 08:46 last edited by
              #6

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

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

              http://anavi.org/

              1 Reply Last reply
              0
              • J Offline
                J Offline
                John_Britas
                wrote on 15 Jan 2013, 09:04 last edited by
                #7

                But webrtc is a relatively new terminology

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  ronghester
                  wrote on 15 Jan 2013, 10:56 last edited by
                  #8

                  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.

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    John_Britas
                    wrote on 15 Jan 2013, 12:09 last edited by
                    #9

                    [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

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      ronghester
                      wrote on 15 Jan 2013, 12:45 last edited by
                      #10

                      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.

                      1 Reply Last reply
                      0

                      3/10

                      15 Jan 2013, 08:29

                      7 unread
                      • Login

                      • Login or register to search.
                      3 out of 10
                      • First post
                        3/10
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved