标签: swift iphone xcode quickblox
我在我的视频通话应用程序中使用了 quick blox,但我在通过扬声器播放音频时遇到了问题,我使用了
audioSession.currentAudioDevice = .speaker
但它不起作用并显示此
'currentAudioDevice' is deprecated
谁能帮我在扬声器模式下设置声音