You need to register the callback when calling the
If you need to send the preprocessed data to the SDK, you need to call
You can get raw video data collected by the local device through this callback.
该回调默认提供的视频数据格式为 I420Buffer 或 TextureBuffer,TextureBuffer 类型的纹理格式可能为 0ES 格式或者 RGB 格式。 如果你需要其他格式的视频数据,可在
该回调默认提供的视频数据格式为 I420 或 CVPixelBufferRef,如果你需要其他格式的视频数据,可在
该回调默认提供的视频数据格式为 YUV420,如果你需要其他格式的视频数据,可在 getVideoFormatPreference 回调的返回值中设置预期的数据格式。
The default video format that you get from this callback may be I420Buffer or TextureBuffer. The texture format of TextureBuffer can be either 0ES format or RGB format. If you need video data in other formats, you can set the expected data format in the return value of the
The default video format that you get from this callback is I420 or CVPixelBufferRef. If you need other formats, you can set the expected data format in the
The default video format that you get from this callback is YUV420. If you need other formats, you can set the expected data format in the getVideoFormatPreference callback.
After you successfully register the video frame observer, the SDK triggers this callback each time it receives a video frame. In this callback, you can get the video data sent from the remote end before rendering, and then process it according to the particular scenarios.
-该回调默认提供的视频数据格式为 I420Buffer 或 TextureBuffer,TextureBuffer 类型的纹理格式可能为 0ES 格式或者 RGB 格式。 如果你需要其他格式的视频数据,可在
该回调默认提供的视频数据格式为 I420 或 CVPixelBufferRef,如果你需要其他格式的视频数据,可在
该回调默认提供的视频数据格式为 YUV420,如果你需要其他格式的视频数据,可在 getVideoFormatPreference 回调的返回值中设置预期的数据格式。
+The default video format that you get from this callback may be I420Buffer or TextureBuffer. The texture format of TextureBuffer can be either 0ES format or RGB format. If you need video data in other formats, you can set the expected data format in the return value of the
The default video format that you get from this callback is I420 or CVPixelBufferRef. If you need other formats, you can set the expected data format in the
The default video format that you get from this callback is YUV420. If you need other formats, you can set the expected data format in the getVideoFormatPreference callback.