-
Create a global voice chat (no spatial) using the new audio API, utilizing a wire + input/output
-
I cannot hear other people’s voice chat audio. My guess is the input is being replayed to the output. Which isn’t the same output as X player. I’m not sure.
-
I’ve tried using the new audio documentation and changing the “Radio” script found in the development game. I can’t figure out how to set this up correctly (I made a few adjustments to a radio script).
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local players = game:GetService("Players")
local function connect(src: Instance, dst: Instance)
local wire = Instance.new("Wire", dst)
wire.SourceInstance = src
wire.TargetInstance = dst
end
local function onPlayerAdded(player: Player)
local input = Instance.new("AudioDeviceInput", player)
input.Player = player
local output = Instance.new("AudioDeviceOutput", player)
output.Player = player
connect(input, output)
end
players.PlayerAdded:Connect(onPlayerAdded)
for _, player in players:GetPlayers() do
onPlayerAdded(player)
end