iOS API
Instance Methods | List of all members
<MobileRTCVideoRawDataDelegate > Protocol Reference
Inheritance diagram for <MobileRTCVideoRawDataDelegate >:

Instance Methods

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

Method Documentation

◆ onMobileRTCRender:framePixelBuffer:rotation:()

- (void MobileRTCVideoRawDataDelegate) 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 MobileRTCVideoRawDataDelegate) 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 MobileRTCVideoRawDataDelegate) 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.

The documentation for this protocol was generated from the following file: