1.方法參數(shù)改變
self.agoraKit enableAudioVolumeIndication:1800 smooth:3 report_vad:NO]; 換為 [self.agoraKit enableAudioVolumeIndication:1800 smooth:3 reportVad:NO];
2.參數(shù)類(lèi)型改變
AgoraAudioMixingReasonCode
startAudioMixing
AgoraAudioEffect----AgoraAudioEffectPreset
- (void)rtcEngine:(AgoraRtcEngineKit *)engine connectionChangedToState:(AgoraConnectionStateType)state reason:(AgoraConnectionChangedReason)reason {}
----->
- (void)rtcEngine:(AgoraRtcEngineKit *)engine connectionChangedToState:(AgoraConnectionState)state reason:(AgoraConnectionChangedReason)reason {}
3.移除 獲取音樂(lè)時(shí)長(zhǎng)方法 getAudioFileInfo
回調(diào)方法 didRequestAudioFileInfo
4.使用邏輯修改
啟用該功能后绪氛,如果有用戶將自己靜音(調(diào)用了 muteLocalAudioStream)骤竹,SDK 會(huì)繼續(xù)報(bào)告本地用戶的音量提示回調(diào)忱屑。需要在執(zhí)行語(yǔ)音動(dòng)畫(huà),uid ==0 判斷里面再執(zhí)行判斷是否自己開(kāi)著麥 來(lái)判斷是否執(zhí)行說(shuō)話光波動(dòng)畫(huà)
5 build setting 修改 刪除
AgoraAIDenoiseExtension AgoraCIExtension AgoraCore AgoraDav1dExtension AgoraFDExtension Framework not found AgoraVideoProcessExtension
參考 :https://docs.agora.io/cn/live-streaming-premium-4.x/migration_guide_ios_ng?platform=iOS