Try not setting videoRecording mode for round messages

This commit is contained in:
Ilya Laktyushin 2024-02-18 14:37:42 -04:00
parent f4e351ab2f
commit b2efd29b52

View File

@ -817,8 +817,12 @@ public final class ManagedAudioSession: NSObject {
mode = .voiceChat
case .videoCall:
mode = .videoChat
case .record(_, true, _):
mode = .videoRecording
case let .record(_, video, withOthers):
if video && !withOthers {
mode = .videoRecording
} else {
mode = .default
}
default:
mode = .default
}