|
|
@ -264,8 +264,8 @@ public class SimpleAudioReceiver: NSObject { |
|
|
// 非通话:保持原有逻辑,但使用 .allowBluetooth 以支持录音(而不是 A2DP) |
|
|
// 非通话:保持原有逻辑,但使用 .allowBluetooth 以支持录音(而不是 A2DP) |
|
|
desiredCategory = .playAndRecord |
|
|
desiredCategory = .playAndRecord |
|
|
desiredMode = .videoChat |
|
|
desiredMode = .videoChat |
|
|
//desiredOptions = [.allowBluetooth, .mixWithOthers, .defaultToSpeaker] |
|
|
desiredOptions = [.allowBluetooth, .mixWithOthers, .defaultToSpeaker] |
|
|
desiredOptions = [.mixWithOthers, .defaultToSpeaker] |
|
|
//desiredOptions = [.mixWithOthers, .defaultToSpeaker] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 仅在类别或模式变化时才调用 setCategory,避免触发不必要的 categoryChange |
|
|
// 仅在类别或模式变化时才调用 setCategory,避免触发不必要的 categoryChange |
|
|
|