Implement 1:1 call mutes state.

This commit is contained in:
Alex Hart
2025-02-05 14:22:09 -04:00
committed by Greyson Parrelli
parent 23ad23c341
commit e840efcecc
7 changed files with 41 additions and 4 deletions

View File

@@ -67,6 +67,10 @@ data class CallParticipant(
return copy(identityKey = identityKey)
}
fun withAudioEnabled(audioEnabled: Boolean): CallParticipant {
return copy(isMicrophoneEnabled = audioEnabled)
}
fun withVideoEnabled(videoEnabled: Boolean): CallParticipant {
return copy(isVideoEnabled = videoEnabled)
}