Inherits agora_gaming_rtc.IVideoRawDataManager.
The definition of VideoRawDataManager.
◆ OnCaptureVideoFrameHandler()
delegate void agora_gaming_rtc.VideoRawDataManager.OnCaptureVideoFrameHandler |
( |
VideoFrame |
videoFrame | ) |
|
Occurs each time the SDK receives a video frame captured by the local camera.
After you successfully register the video frame observer, the SDK triggers this callback each time a video frame is received. In this callback, you can get the video data captured by the local camera. You can then pre-process the data according to your scenarios.
- Note
- This callback does not support sending processed video data back to the SDK.
- The video data that this callback gets has not been pre-processed, without the watermark, the cropped content, the rotation, and the image enhancement.
- Parameters
-
◆ OnRenderVideoFrameHandler()
delegate void agora_gaming_rtc.VideoRawDataManager.OnRenderVideoFrameHandler |
( |
uint |
uid, |
|
|
VideoFrame |
videoFrame |
|
) |
| |
Occurs each time the SDK receives a video frame sent by the remote user.
After you successfully register the video frame observer, the SDK triggers this callback each time a video frame is received. In this callback, you can get the video data sent by the remote user. You can then post-process the data according to your scenarios.
- Note
- This callback does not support sending processed video data back to the SDK.
- Parameters
-
uid | ID of the remote user who sends the current video frame. |
videoFrame | See VideoFrame. |
◆ GetInstance()
◆ ReleaseInstance()
static void agora_gaming_rtc.VideoRawDataManager.ReleaseInstance |
( |
| ) |
|
|
static |
◆ SetEngine()
void agora_gaming_rtc.VideoRawDataManager.SetEngine |
( |
IRtcEngine |
irtcEngine | ) |
|
◆ SetOnCaptureVideoFrameCallback()
Listens for the OnCaptureVideoFrameHandler delegate.
- Parameters
-
action | The implementation of the OnCaptureVideoFrameHandler delegate. |
- Returns
- 0: Success.
- < 0: Failure.
◆ SetOnRenderVideoFrameCallback()
Listens for the OnRenderVideoFrameHandler delegate.
- Parameters
-
action | The implementation of the OnRenderVideoFrameHandler delegate. |
- Returns
- 0: Success.
- < 0: Failure.
◆ RegisterVideoRawDataObserver()
override int agora_gaming_rtc.VideoRawDataManager.RegisterVideoRawDataObserver |
( |
| ) |
|
|
virtual |
◆ UnRegisterVideoRawDataObserver()
override int agora_gaming_rtc.VideoRawDataManager.UnRegisterVideoRawDataObserver |
( |
| ) |
|
|
virtual |
◆ EnableRawDataPtrCallback()
override int agora_gaming_rtc.VideoRawDataManager.EnableRawDataPtrCallback |
( |
bool |
enable | ) |
|
|
virtual |
The documentation for this class was generated from the following file: