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. How select an audio output device for WebEngineView?
Forum Update on Monday, May 27th 2025

How select an audio output device for WebEngineView?

Scheduled Pinned Locked Moved QtWebEngine
1 Posts 1 Posters 708 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.
  • B Offline
    B Offline
    Brad Austin Davis
    wrote on 28 Nov 2016, 18:12 last edited by
    #1

    I'm working on an application that support multiple VR headsets as well as desktop. When a user activates a VR headsest, I need to be able to change the audio output for the QML layer to the appropriate device.

    I've figured out how to do this for the pure QML layer. I'm able to fetch the corresponding QMediaPlayer, and from there fetch the QMediaService and from that the QAudioOutputSelectorControl.

    I can't seem to find any mechanism for altering the audio output for WebEngineView objects embedded in my UI. I can't find anything in the WebEngineView that exposes any of these types. In fact it looks as though the only code related to audio in the web engine source code has to do specifically with allowing capture of host audio / video, rather than audio output from the rendered pages.

    Is there any way to redirect the audio output from WebEngineView?

    1 Reply Last reply
    1

    1/1

    28 Nov 2016, 18:12

    • 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