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

Represents raw data received from subscribed video stream. More...

#include <MobileRTCVideoRawData.h>

Inherits NSObject.

Instance Methods

(BOOL) - canAddRef
 Whether adding a reference is allowed.
 
(BOOL) - addRef
 Add to reference count.
 
(NSInteger) - releaseRef
 Subtract from reference count.
 

Properties

char * yBuffer
 The y-data pointer to a video's YUV data.
 
char *_Nullable uBuffer
 The u-data data pointer to a video's YUV data.
 
char *_Nullable vBuffer
 The v-data data pointer to a video's YUV data.
 
CGSize size
 The video data's size.
 
char *_Nullable alphaBuffer
 The data pointer to a video's alpha data.
 
unsigned int alphaBufferLen
 The alpha buffer data length.
 
MobileRTCFrameDataFormat format
 The video data's raw data format.
 
MobileRTCVideoRawDataRotation rotation
 The video data's rotation.
 
NSDate * timeStamp
 TimeStamp of video data.
 

Detailed Description

Represents raw data received from subscribed video stream.

Definition at line 15 of file MobileRTCVideoRawData.h.

Method Documentation

◆ addRef

- (BOOL) addRef

Add to reference count.

Returns
YES if successfully added. Otherwise, this returns false.

◆ canAddRef

- (BOOL) canAddRef

Whether adding a reference is allowed.

Returns
YES if allow. Otherwise, false.

◆ releaseRef

- (NSInteger) releaseRef

Subtract from reference count.

Property Documentation

◆ alphaBuffer

- (char* _Nullable) alphaBuffer
readwritenonatomicassign

The data pointer to a video's alpha data.

Definition at line 40 of file MobileRTCVideoRawData.h.

◆ alphaBufferLen

- (unsigned int) alphaBufferLen
readwritenonatomicassign

The alpha buffer data length.

Definition at line 45 of file MobileRTCVideoRawData.h.

◆ format

- (MobileRTCFrameDataFormat) format
readwritenonatomicassign

The video data's raw data format.

Definition at line 50 of file MobileRTCVideoRawData.h.

◆ rotation

- (MobileRTCVideoRawDataRotation) rotation
readwritenonatomicassign

The video data's rotation.

Definition at line 55 of file MobileRTCVideoRawData.h.

◆ size

- (CGSize) size
readwritenonatomicassign

The video data's size.

Definition at line 35 of file MobileRTCVideoRawData.h.

◆ timeStamp

- (NSDate*) timeStamp
readwritenonatomicstrong

TimeStamp of video data.

Definition at line 60 of file MobileRTCVideoRawData.h.

◆ uBuffer

- (char* _Nullable) uBuffer
readwritenonatomicassign

The u-data data pointer to a video's YUV data.

Definition at line 25 of file MobileRTCVideoRawData.h.

◆ vBuffer

- (char* _Nullable) vBuffer
readwritenonatomicassign

The v-data data pointer to a video's YUV data.

Definition at line 30 of file MobileRTCVideoRawData.h.

◆ yBuffer

- (char*) yBuffer
readwritenonatomicassign

The y-data pointer to a video's YUV data.

Definition at line 20 of file MobileRTCVideoRawData.h.