webrtc+callkit免提按钮bug
2022-09-02 本文已影响0人
ing_69c7
RTCConfiguration *configuration = [[RTCConfiguration alloc] init];
[RTCAudioSessionConfiguration webRTCConfiguration].categoryOptions = AVAudioSessionCategoryOptionAllowBluetooth|AVAudioSessionCategoryOptionAllowBluetoothA2DP|AVAudioSessionCategoryOptionDuckOthers;
这样设置webrtc解决了我的问题