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 {
69
69
// By default, using this category implies that our app’s audio is
70
70
// nonmixable, hence activating the session will interrupt any other
71
71
// audio sessions which are also nonmixable.
72
- _category = AVAudioSessionCategoryPlayAndRecord ;
73
- _categoryOptions = AVAudioSessionCategoryOptionAllowBluetooth ;
72
+ _category = AVAudioSessionCategorySoloAmbient ;
73
+ _categoryOptions = 0 ;
74
74
75
75
// Specify mode for two-way voice communication (e.g. VoIP).
76
- _mode = AVAudioSessionModeVoiceChat ;
76
+ _mode = AVAudioSessionModeDefault ;
77
77
78
78
// Set the session's sample rate or the hardware sample rate.
79
79
// 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