supermedium / moonrider

🌕🏄🏿 Surf the musical road among the stars. Side project built by two people in a few months to demonstrate WebXR.
https://moonrider.xyz
MIT License
583 stars 225 forks source link

Distorted sound Streaming Oculus browser AND not working on Firefox Reality #88

Open AuracleTech opened 4 years ago

AuracleTech commented 4 years ago

I had a lot of problem trying to stream to my friend the game... We speak in french in the video.

Here's the video

Mozilla Firefox Reality

At 17:20 : The sound works perfectly compared to Oculus Browser, but the library is clearly glitched out, the background has a problem there's missing GUI, the music doesn't start then start when I stop, acting really weird in general

Oculus Browser debug

At 21:19 : Everything works, the sound is legit and everything is fine Then 21:49 : When I enter in VR mode the sound becomes horrible and distorted PLEASE NOTE the sound is distorted only on the streaming I hear the sound just find

ngokevin commented 4 years ago

Thanks. We don't support Firefox Reality at the moment. We also haven't tested streaming, but I imagine that has everything to do with it. Does it happen with any other VR apps or sites (simpler experiences)? I wonder if we can do anything on our side.

AuracleTech commented 4 years ago

That's a good question do you have any other website WebVR based that I could try, except yours and some working with your sourcecode I don't have any

dmarcos commented 4 years ago

You can try with the A-Frame hello world:

https://aframe.io/aframe/examples/boilerplate/hello-world/

and any of the examples:

https://aframe.io/aframe/examples/

ngokevin commented 4 years ago

You'd need an example with sound: https://webvr.info/samples/06-vr-audio.html

AuracleTech commented 4 years ago

Debug video two Seems to be the WebVR sound that has a problem with Oculus browser, because it worked with Mozilla Reality...

ngokevin commented 4 years ago

That's unfortunate since it's on their side. Streaming is not a huge priority for us. What you can maybe do is file a bug with mozila to fix their compat because it works on most other browsers

Artyom17 commented 4 years ago

Am I correct, the audio is broken only when you try to stream? Is the audio broken in the headset as well or only on stream? Is it ok if you don't and just run the VR/XR experience in the browser? What is the version of the browser (chrome://version, I am interested in something like 6.2.11 or 7.0.13) and OS (you can find it if you press a small gear on the panel and go to Device, it should be something like 'user-434xxx')?

Artyom17 commented 4 years ago

I think I've repro'ed it. The audio in the headset is good, it is only broken in the stream, right? Seems like a bug in our streaming. I'll report it to the appropriate team.

AuracleTech commented 4 years ago

I'll do more consistent test to try to isolate the problem in about 6 hours, because I'm gonna be honnest, I really want this to be fixed 🥇

Artyom17 commented 4 years ago

Ok, I can say that the issue with audio while livestreaming or video capturing is confirmed by Oculus engineers. Can't give any ETAs for the fix, though.

dmarcos commented 4 years ago

@Artyom17 Thanks for the info.

clach04 commented 4 years ago

Just tried Firefox Reality on Quest: