Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCVideoSender Class Reference

A class that sends video raw data. More...

#include <MobileRTCVideoSender.h>

Inherits NSObject.

Instance Methods

(void) - sendVideoFrame:width:height:dataLength:rotation:format:
 Sends video raw data.
 

Detailed Description

A class that sends video raw data.

Definition at line 13 of file MobileRTCVideoSender.h.

Method Documentation

◆ sendVideoFrame:width:height:dataLength:rotation:format:

- (void) sendVideoFrame: (char *) frameBuffer
width: (NSUInteger) width
height: (NSUInteger) height
dataLength: (NSUInteger) dataLength
rotation: (MobileRTCVideoRawDataRotation) rotation
format: (MobileRTCFrameDataFormat) format 

Sends video raw data.

Parameters
frameBufferThe YUV420I buffer for each frame of the video.
widthThe width of the raw data for each frame of the video.
heightThe height of the raw data for each frame of the video.
dataLengthThe data length of the raw data for each frame of the video.
rotationThe rotation of the raw data for each frame of the video.
formatThe format of the raw data for each frame of the video.