iOS SDK API Reference
Loading...
Searching...
No Matches
<MobileRTCVideoRawDataDelegate> Protocol Reference

This class is used to receive video raw data. @discussion The MobileRTCVideoRawDataDelegate protocol is required in the custom meeting UI view. More...

#import <MobileRTCMeetingDelegate.h>

Inherits <NSObject>.

Instance Methods

(void) - onMobileRTCRender:framePixelBuffer:rotation:
 This method is used to receive video's NV12 data(CVPixelBufferRef).
 
(void) - onMobileRTCRender:frameRawData:
 This method is used to receive video's YUV420 data.
 
(void) - onMobileRTCRender:rawDataSending:
 Callback event when the sender stop/start to sending raw data.
 

Detailed Description

This class is used to receive video raw data. @discussion The MobileRTCVideoRawDataDelegate protocol is required in the custom meeting UI view.

Definition at line 1029 of file MobileRTCMeetingDelegate.h.

Method Documentation

◆ onMobileRTCRender:framePixelBuffer:rotation:

- (void) onMobileRTCRender: (MobileRTCRenderer *_Nonnull)  renderer
framePixelBuffer: (CVPixelBufferRef _Nullable)  pixelBuffer
rotation: (MobileRTCVideoRawDataRotation rotation 
optional

This method is used to receive video's NV12 data(CVPixelBufferRef).

Parameters
pixelBufferVideo's CVPixelBufferRef data.
rendererThe MobileRTCRenderer’s object.

◆ onMobileRTCRender:frameRawData:

- (void) onMobileRTCRender: (MobileRTCRenderer *_Nonnull)  renderer
frameRawData: (MobileRTCVideoRawData *_Nonnull)  rawData 
optional

This method is used to receive video's YUV420 data.

Parameters
rawDataVideo's YUV420 data.
rendererThe MobileRTCRenderer’s object.

◆ onMobileRTCRender:rawDataSending:

- (void) onMobileRTCRender: (MobileRTCRenderer *_Nonnull)  renderer
rawDataSending: (BOOL)  on 
optional

Callback event when the sender stop/start to sending raw data.

Parameters
rendererThe MobileRTCRenderer’s object.
onRaw data is sending or not.