Skip to content

Fixing long voice chat delay while speaking #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

V3nilla
Copy link

@V3nilla V3nilla commented Dec 23, 2024

Having conducted tests, it turned out that at high FPS - Voice chat in the game goes with a big delay, which can be disastrous for the game

@theletterjwithadot
Copy link
Owner

Could you share your testing methods and how you arrived at that conclusion?

Cheers!
J.

@V3nilla
Copy link
Author

V3nilla commented Dec 24, 2024

Could you share your testing methods and how you arrived at that conclusion?

Cheers! J.

I'm not 100% sure that this is the case, but you can see that at higher FPS, the game is busy processing frames because there are a lot of these frames and voice chat is processed last (after 2-2.5 seconds, timings are always different). At 30 fps and less, the game will almost instantly process voice chat as there are fewer frames and there is no queue from it. I've noticed that after playing game on l4d2center where im calling what to do on tank, my friend showed me a clip that i said that after tank walked to our room, but in reality i said call before he walked to our room, and this is on 55ms ping server.

@theletterjwithadot
Copy link
Owner

theletterjwithadot commented Dec 24, 2024

I did a quick test with a friend where he recorded me talking so I could check the delay. In my test, I didn’t notice much difference in voice chat delay between 30fps and 300fps. This was just a quick personal test, so it doesn’t mean your findings are invalid, but it does suggest that more testing is needed to confirm if FPS is really the issue here.

The idea of a toggle to reduce FPS to 30 when the voice chat key is pressed is interesting, but it might introduce some drawbacks, like affecting gameplay fluidity, especially for players who use voice chat frequently.

Overall, while this is an interesting lead, I think it would need more testing to verify if it’s something that should be addressed in this config. At this stage, it’s hard to say for sure if this is the root cause or the right workaround.

Cheers!
J.

@theletterjwithadot theletterjwithadot added the needs testing Needs more testing label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs testing Needs more testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants