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

The video's rawdata sender. More...

#include <MobileRTCVideoSender.h>

Inherits NSObject.

Instance Methods

(void) - sendVideoFrame:width:height:dataLength:rotation:format:
 This method is used to send video's rawdata.
 

Detailed Description

The video's rawdata sender.

Definition at line 16 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 

This method is used to send video's rawdata.

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