Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. WebRTC in Raspberry Pi 3 using QWebEngine
Forum Updated to NodeBB v4.3 + New Features

WebRTC in Raspberry Pi 3 using QWebEngine

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 1.1k 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
    jayakody2000lk
    wrote on 22 Feb 2017, 15:18 last edited by
    #1

    I'm trying to load WebRTC "Basic getUserMedia demo" on Raspberry Pi 3 Model B using QtWebEngine. But the problem is QWebEngineView does not detect any media devices. When I execute my Qt application I got "Basic getUserMedia demo" page with "black" preview. I also try "Select camera, microphone and speaker" demo and it does not display any devices in drop down boxes.

    For this demo I use Qt version 5.7 code base and cross compile it to Raspberry Pi.

    Also I got following log when I execute my application on Raspberry Pi:

    Unable to query physical screen size, defaulting to 100 dpi.
    To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
    WebEngineTwo Constructor
    [0220/231731:INFO:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
    [0220/231731:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
    [0220/231731:VERBOSE1:audio_manager_pulse.cc(257)] Failed to connect to the context.  Error: Connection refused
    [0220/231732:VERBOSE1:sandbox_linux.cc(152)] Lacking support for seccomp-bpf sandbox.
    [0220/231732:VERBOSE1:zygote_main_linux.cc(551)] ZygoteMain: initializing 0 fork delegates
    [0220/231732:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
    

    In my test aplication I use setFeaturePermission function to grant permission to media devices. This test application works fine on Ubuntu 16.04 (x86) environment.

    I try my test application with CSI and USB cameras on Raspbian and Ubuntu MATE operating systems, and I got same "black square" for preview.

    What's the status of WebRTC in QWebEngineView on Raspberry Pi? Is it broken or not supported on Raspberry Pi platform?

    1 Reply Last reply
    0

    1/1

    22 Feb 2017, 15:18

    • Login

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