File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sdk/objc/components/audio Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ - (instancetype)init {
6969 // By default, using this category implies that our app’s audio is
7070 // nonmixable, hence activating the session will interrupt any other
7171 // audio sessions which are also nonmixable.
72- _category = AVAudioSessionCategoryPlayAndRecord ;
73- _categoryOptions = AVAudioSessionCategoryOptionAllowBluetooth ;
72+ _category = AVAudioSessionCategorySoloAmbient ;
73+ _categoryOptions = 0 ;
7474
7575 // Specify mode for two-way voice communication (e.g. VoIP).
76- _mode = AVAudioSessionModeVoiceChat ;
76+ _mode = AVAudioSessionModeDefault ;
7777
7878 // Set the session's sample rate or the hardware sample rate.
7979 // It is essential that we use the same sample rate as stream format
You can’t perform that action at this time.
0 commit comments