swift - 通过 Quick blox 中的扬声器播放音频

时间:2021-05-26 19:41:02

标签: swift iphone xcode quickblox

我在我的视频通话应用程序中使用了 quick blox,但我在通过扬声器播放音频时遇到了问题,我使用了

audioSession.currentAudioDevice = .speaker

但它不起作用并显示此

'currentAudioDevice' is deprecated

谁能帮我在扬声器模式下设置声音

0 个答案:

没有答案