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

#import <MobileRTCVideoSender.h>

Inherits NSObject.

Instance Methods

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

Detailed Description

Definition at line 11 of file MobileRTCVideoSender.h.

Method Documentation

◆ sendVideoFrame:width:height:dataLength:rotation:

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

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