QNVideoFrameListener
Index
Core Methods
Core Methods
OnVideoFrame
- OnVideoFrame: (userId: string, trackId: string, data: ArrayBuffer, width: number, height: number, rotation: QNVideoRotation, videoFrameType: QNVideoFrameType) => void
-
视频数据回调
Parameters-
userId: string
此视频数据所属的用户
-
trackId: string
视频 track id
-
data: ArrayBuffer
视频数据内存指针
-
width: number
视频宽
-
height: number
视频高
-
rotation: QNVideoRotation
视频旋转方向
-
videoFrameType: QNVideoFrameType
视频数据类型
-
文档反馈
(如有产品使用问题,请 提交工单)