主頁 > 服務(wù)與支持 > 開發(fā)平臺(tái) > 客戶端SDK參考 > Android Native SDK > 會(huì)議 獲取信號(hào)和質(zhì)量數(shù)據(jù)
更新時(shí)間:2019-11-20
描述
用戶正在通話中或者會(huì)議中,用戶可以獲取當(dāng)前呼叫的信號(hào)強(qiáng)度和質(zhì)量數(shù)據(jù)信息,如果在當(dāng)前正在主動(dòng)共享或觀看共享,用戶還能獲取共享的質(zhì)量數(shù)據(jù)信息。
前提條件
用戶正在通話中或者會(huì)議中。
業(yè)務(wù)流程
onEvtStatisticInfo事件每5秒上報(bào)一次,若UI需要更高頻率獲取音視頻質(zhì)量數(shù)據(jù),可以調(diào)用getCallStatisticInfo()接口獲取。
1 2 3 4 |
//Java code public void onEvtStatisticInfo(TsdkCall call, long signalStrength, TsdkCallStatisticInfo statisticInfo) { CallMgr.getInstance().handleUpDateCallStatisticInfo(signalStrength, statisticInfo); } |
1 2 3 4 5 6 7 8 |
//Java code public void getShareStatisticInfo(){ if (null == currentConference) { return ; } currentConference.getShareCodecInfo(); } |
1 2 3 4 |
//Java code public void onEvtShareStatisticInfo(TsdkConference conference, TsdkShareStatisticInfo statisticInfo) { MeetingMgr.getInstance().handleShareStatisticInfo(conference, statisticInfo); } |
注意事項(xiàng)
無。