Interface IZegoPeerToPeerLatencyProbeCallback
-
public interface IZegoPeerToPeerLatencyProbeCallback
端到端延迟测量回调Copyright © 2020 Zego. All rights reserved.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPeerToPeerLatencyProbeResult(java.lang.String streamID, int delay)
接收到延迟信息
调用ZegoPeerToPeerLatencyProbe.setZegoPeerToPeerLatencyProbeCallback(IZegoPeerToPeerLatencyProbeCallback)
设置了回调监听,且主播端已成功发送了延迟信息,SDK 通过此 API 通知拉流方。
-
-
-
Method Detail
-
onPeerToPeerLatencyProbeResult
void onPeerToPeerLatencyProbeResult(java.lang.String streamID, int delay)
接收到延迟信息
调用ZegoPeerToPeerLatencyProbe.setZegoPeerToPeerLatencyProbeCallback(IZegoPeerToPeerLatencyProbeCallback)
设置了回调监听,且主播端已成功发送了延迟信息,SDK 通过此 API 通知拉流方。- Parameters:
streamID
- 当前流ID信息,标记当前回调的信息属于哪条流。delay
- 大于0为延迟(ms) -1为推流端时间同步异常 -2为拉流端时间同步异常
-
-