RTCConfiguration *configuration = [[RTCConfiguration alloc] init];
[RTCAudioSessionConfiguration webRTCConfiguration].categoryOptions = AVAudioSessionCategoryOptionAllowBluetooth|AVAudioSessionCategoryOptionAllowBluetoothA2DP|AVAudioSessionCategoryOptionDuckOthers;
这样设置webrtc解决了我的问题
网友评论