mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Clean up ahead of PR.
// FREEBIE
This commit is contained in:
parent
54bf103508
commit
6c9f44b99d
|
@ -98,11 +98,11 @@ import AVFoundation
|
|||
if call.hasLocalVideo {
|
||||
setAudioSession(category: AVAudioSessionCategoryPlayAndRecord,
|
||||
mode: AVAudioSessionModeVideoChat,
|
||||
options: [.defaultToSpeaker])
|
||||
options: .defaultToSpeaker)
|
||||
} else if call.isSpeakerphoneEnabled {
|
||||
setAudioSession(category: AVAudioSessionCategoryPlayAndRecord,
|
||||
mode: AVAudioSessionModeVoiceChat,
|
||||
options: [.defaultToSpeaker])
|
||||
options: .defaultToSpeaker)
|
||||
} else {
|
||||
setAudioSession(category: AVAudioSessionCategoryPlayAndRecord,
|
||||
mode: AVAudioSessionModeVoiceChat,
|
||||
|
|
Loading…
Reference in a new issue