New issue
Advanced search Search tips

Issue 845246 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug
Proj-XR
Proj-XR-VR

Blocking:
issue 773889



Sign in to add a comment

Direct audio to headset when in VR using Oculus Rift

Project Member Reported by billorr@chromium.org, May 21 2018

Issue description

On desktop, there may be more than one output audio device.  When a user is using VR hardware, we should choose the correct device.

There may be design questions first.  For example - is all audio redirected, or only the page showing up in-headset?  Do we spatialize, or just expose headphones?
 
Status: Available (was: Untriaged)
bulk assinging windows-related vr bugs to myself.

Comment 2 by btebbs@chromium.org, Jun 19 2018

Blocking: 773882
Components: Internals>XR
Labels: VR-Desktop
Components: -Internals>XR Internals>XR>VR
Labels: -Pri-3 Pri-1
Summary: Direct audio to headset when in VR using Oculus Rift (was: Direct audio to headset when in VR)
This issue appears specific to using the Oculus Rift backend (OVR) where applications are responsible for selecting the right audio device, renaming accordingly.

I tested with SteamVR which offers automatic audio device switching through SteamVR > Settings > Audio. That works as expected using Chrome.

Tested as follows:

- SteamVR audio settings: "When SteamVR is active": VIVE, "When SteamVR is exited": speaker

- Shut down SteamVR

- Launch Chrome

- do non-VR audio playback, i.e. a YouTube video, to confirm that audio plays through the non-HMD speaker output

- open a WebXR page

- audio redirects to the HMD's headphones

That's as expected for SteamVR, with no special handling needed inside Chrome.

Leaving the issue open for OVR backend specific followups.
FYI, it should be possible to use the Oculus Rift through SteamVR to take advantage of its automatic audio switching. That's a bit clunky, but is a potential workaround for this issue until there's a code-level solution.
Status: Assigned (was: Available)
Components: Internals>XR
Removing Internals>VR component and assigning to Internals>XR
Components: -Internals>VR
I see a setting in the Oculus app to Mirror VR audio, playing to both the default audio device and the Rift headphones.

We may still want to direct audio for Chrome specifically when this setting isn't enabled, but this setting may allow us to lower the priority of this.
Blocking: -773882 773889
https://webrtc.github.io/samples/src/content/devices/input-output/

Web pages could redirect audio themselves if they knew which output device was preferred.

However, we could effectively make it seem like the default audio device has changed while a headset is presenting.

Sign in to add a comment