实时音视频 SPARKRTC-事件回调(HWRtcEngine):onFirstRemoteVideoDecoded

时间:2024-01-25 15:05:49

onFirstRemoteVideoDecoded

- (void)onFirstRemoteVideoDecoded:(NSString*)roomId userId:(NSString*)userId width:(int)width height:(int)height elapsed:(NSUInteger)elapsed;

功能说明

引擎收到第一帧远端视频流并解码成功回调。

回调参数
  • roomId:视频流对应的房间ID。
  • userId:视频流对应的用户ID。
  • width:视频流宽度。
  • height:视频流高度。
  • elapsed:本端订阅远端用户视频到首帧解码后消耗的时间,单位ms。
support.huaweicloud.com/csdk-rtc/rtc_05_0065.html