We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d80f828 commit f033fd3Copy full SHA for f033fd3
Flat/Modules/ClassRoom/Rtc/Rtc.swift
@@ -205,7 +205,7 @@ class Rtc: NSObject {
205
let agoraKitConfig = AgoraRtcEngineConfig()
206
agoraKitConfig.appId = appId
207
agoraKitConfig.areaCode = .CN
208
- agoraKitConfig.channelProfile = communication ? .communication : .liveBroadcasting
+ agoraKitConfig.channelProfile = .liveBroadcasting // 只用 liveBroadcasting 因为另一个模式会导致 airpodspro 2 无法使用 //communication ? .communication : .liveBroadcasting
209
agoraKit = .sharedEngine(with: agoraKitConfig, delegate: self)
210
211
agoraKit.setLogFile("") // set to default path
0 commit comments