实时音视频 SparkRTC-事件回调(IHRTCEngineEventHandler):onRemoteVideoStateChangedNotify

时间:2025-02-12 14:55:01

onRemoteVideoStateChangedNotify

void onRemoteVideoStateChangedNotify(String userId, HRTCRemoteVideoStreamState state, HRTCRemoteVideoStreamStateReason reason);

功能说明

远端视频流状态变化回调。

回调参数

  • userId:远端用户ID。
  • state:远端视频流状态,具体请参见HRTCRemoteVideoStreamState
  • reason:远端视频流状态变化原因,具体请参见HRTCRemoteVideoStreamStateReason
support.huaweicloud.com/csdk-rtc/rtc_05_0025.html