feat: Add deafen to pc, fix mobiel view, fix freeze on startup

This commit is contained in:
2026-06-05 15:27:06 +02:00
parent 35f52b0356
commit a675f12e61
85 changed files with 2499 additions and 519 deletions

View File

@@ -496,18 +496,27 @@ export class PrivateCallComponent {
return;
}
const voiceState = {
isConnected: this.isConnected(),
isMuted: this.isMuted(),
isDeafened: this.isDeafened(),
roomId: session.callId,
serverId: session.callId
};
this.store.dispatch(
UsersActions.updateVoiceState({
userId: user.id,
voiceState: {
isConnected: this.isConnected(),
isMuted: this.isMuted(),
isDeafened: this.isDeafened(),
roomId: session.callId,
serverId: session.callId
}
voiceState
})
);
this.voice.broadcastMessage({
type: 'voice-state',
oderId: user.oderId || user.id,
displayName: user.displayName || 'User',
voiceState
});
}
private remoteParticipantPeerIds(session: DirectCallSession, currentUserId: string): string[] {