NERTC macOS/Windows SDK V5.9.10
载入中...
搜索中...
未找到
nertc::INERtcRemoteVideoFrameObserver类 参考

Public 成员函数

virtual void onRemoteVideoFrame (NERtcVideoStreamType video_stream_type, uid_t uid, const NERtcVideoCallbackFrame &frame)
 
virtual void onPlayStreamingVideoFrame (const char *stream_id, const NERtcVideoCallbackFrame &frame)
 

成员函数说明

◆ onPlayStreamingVideoFrame()

virtual void nertc::INERtcRemoteVideoFrameObserver::onPlayStreamingVideoFrame ( const char * stream_id,
const NERtcVideoCallbackFrame & frame )
inlinevirtual

拉流播放视频帧回调。

注解
纯音频 SDK 禁用该接口,如需使用请前往云信官网下载并替换成视频 SDK。
参数
stream_id直播拉流 ID。
frame视频帧数据

◆ onRemoteVideoFrame()

virtual void nertc::INERtcRemoteVideoFrameObserver::onRemoteVideoFrame ( NERtcVideoStreamType video_stream_type,
uid_t uid,
const NERtcVideoCallbackFrame & frame )
inlinevirtual

远端视频数据回调。

参数
video_stream_type视频流类型。
uid远端用户 ID。
frame视频帧数据

该类的文档由以下文件生成: