Giter Club home page Giter Club logo

Comments (5)

JackD83 avatar JackD83 commented on June 15, 2024

My mic streaming code is primitive compared to the audio capture code. Audio is not synced with the video in any way and just send to the HMD as fast as it can be captured. I don't know if there is room for improvement and I did not have any problems so far and can not confirm a delay of another 50ms.

Maybe you should check your wifi. Some people have improved the streaming by reducing the wifi channel width from 80mhz down to 40mhz

from alvr.

jakefever191 avatar jakefever191 commented on June 15, 2024

maybe thats my problem with the mic streaming because i get 300 ms i'll drop it to 40mhz and see if the helps

from alvr.

jakefever191 avatar jakefever191 commented on June 15, 2024

i change to 40mhz and i went from 300ms to 70 thx

from alvr.

SnyderTheOne avatar SnyderTheOne commented on June 15, 2024

Changing to 40mhz didn't improve the discrepancy in latency between audio and video (received from desktop and played back on the headset). However, there is a slight drift to be noticed (sometimes the audio lags a bit more/less behind the headset video. If I listen to my desktop audio at the same time, I can clearly here the order of playback being desktop audio -> headset video -> headset audio. Changing resolution or bitrate doesn't have an impact. Increasing buffersize decreases the discrepancy a bit but it'd be more correct to say the drift seems more wild.

Games where the audio/video timing isn't a really big deal work fine, since it's only very small, for example Vivecraft. Beatsaber however requires me to play with desktop audio or take a full step backward from the center of the stage (which wouldn't be needed if video/audio where synced, you'd just notice the latency on the controllers). If I am the only one noticing, I'd guess my setup would be the reason.

from alvr.

JackD83 avatar JackD83 commented on June 15, 2024

If I listen to my desktop audio at the same time, I can clearly here the order of playback being desktop audio -> headset video -> headset audio.

I think here could be the problem. There will always be a delay in the streamed audio and video. Can't be avoided. For the video, the async reprojection is used to make it less noticeable, for the audio, there is no such thing. Some people are more susceptible to this than others.

In my opinion, rhythm games like beatsaber will never be a smooth and playable on any streaming solution. Its the same as back in the day of guitar hero, where you had to disable the post processing of some TVs to get a chance of playing the game. With streaming over wifi, there is nothing we can disable.
I even have this delay when I play with the steam link over a ethernet connection and hear the audio from my speakers.

from alvr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.