#Voice-Chat control system
1 messages · Page 1 of 1 (latest)
it's probably possible with roblox's new audio api https://create.roblox.com/docs/reference/engine/classes/AudioDeviceInput
here was o3-mini-high's conclusion to this:
Conclusion
While the AudioDeviceInput API does give you more direct access to microphone controls on the client side, it does not allow you to enforce a listen-only mode from the server. The workaround is to have client-side scripts that monitor a player’s location and set Muted = true on their AudioDeviceInput when they’re in a restricted area. However, this solution isn’t foolproof if a player deliberately circumvents it using their device’s settings or default push-to-talk.
In summary:
Yes, there is a potential workaround on the client side using AudioDeviceInput.
No, it doesn’t let you force silence on other players from the server or completely override user control.
You can use this client-side muting in your (game-name) to suggest and encourage listen-only behavior via LocalScripts, but ultimate control of the microphone remains with the player.
Let me know if you have further questions or need help with the implementation!
what's an o3-mini-high? is that ai?
yeah it's the premium gpt 4.0 but o3-mini-high is specifically for coding/logic/reasoning
not saying it's right, a lot of times AI is wrong, but i was pressuring it to find solutions and it always resulted in roblox limitations not allowing it
** You are now Level 10! **
the ai is most likely wrong and i really don't want to waste time fact checking something it generated in less than 3 seconds
review the docs, google the new audio api etc
yeah that's my plan today