Show / Hide Table of Contents

Interface ITRTCVideoRenderCallback

视频数据帧的自定义处理回调

Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public interface ITRTCVideoRenderCallback

Methods

onRenderVideoFrame(String, TRTCVideoStreamType, TRTCVideoFrame)

12.1 自定义视频渲染回调

可以通过 setLocalVideoRenderCallback 和 setRemoteVideoRenderCallback 接口设置自定义渲染回调

Declaration
void onRenderVideoFrame(string userId, TRTCVideoStreamType streamType, TRTCVideoFrame frame)
Parameters
Type Name Description
System.String userId

用户标识

TRTCVideoStreamType streamType

流类型:即摄像头还是屏幕分享

TRTCVideoFrame frame

视频帧数据

In This Article
Back to top Generated by DocFX