Fixed bug where voice replays even though the client is muted
This commit is contained in:
parent
6221cd9028
commit
afc107391f
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ export class RtpVoiceConnection extends AbstractVoiceConnection {
|
||||||
|
|
||||||
const client = new RtpVoiceClient(clientId);
|
const client = new RtpVoiceClient(clientId);
|
||||||
this.voiceClients[clientId] = client;
|
this.voiceClients[clientId] = client;
|
||||||
|
this.voiceClients[clientId].setGloballyMuted(this.speakerMuted);
|
||||||
client.events.on("notify_state_changed", this.voiceClientStateChangedEventListener);
|
client.events.on("notify_state_changed", this.voiceClientStateChangedEventListener);
|
||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue