Skip to content
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

Cleanup voice targetting bits of mumble to not have duplicates #3058

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

Conversation

AvarianKnight
Copy link
Contributor

Goal of this PR

Fix some possible edge cases where players could be invalid but we would still send a properly formatted mumble name

Fix some cases where the client would send duplicates of the same targets to the server, leading to some excessively large packets.

Wrap any native that needs to be used while connected in MakeMumbleNative

This change set is currently untested

This PR applies to the following area(s)

FiveM, RedM

Successfully tested on

Game builds: ..

Checklist

  • Code compiles and has been tested successfully.
  • Code explains itself well and/or is documented.
  • My commit message explains what the changes do and what they are for.
  • No extra compilation warnings are added by these changes.

…is available

- The previous implementation would constantly swap between UDP/TCP constantly causing the players mic to stutter
- The old implementation should've been completely removed, this is an oversight in citizenfx@f182bb5
…eTarget packet

- The previous implementation allowed duplicates, and was more complex than what we need since we don't care about channel linking (we would always set it to false)
@github-actions github-actions bot added the triage Needs a preliminary assessment to determine the urgency and required action label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant