|
iOS SDK API Reference
|
#import <MobileRTCVideoSender.h>
Inherits NSObject.
Instance Methods | |
| (void) | - sendVideoFrame:width:height:dataLength:rotation: |
| This method is used to send video's rawdata. | |
Definition at line 11 of file MobileRTCVideoSender.h.
| - (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.
| frameBuffer | The YUV420i for each frame of the video. |
| width | The width of the raw data of each frame of the video. |
| height | The height of the raw data of each frame of the video |
| dataLength | The data length of the raw data of each frame of the video |
| rotation | The direction of the raw data of each frame of the video |