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
 Determines if adding a reference is allowed.
 
(BOOL) - addRef
 Increases the reference count by 1.
 
(NSInteger) - releaseRef
 Decreases the reference count by 1.
 

Properties

char * yBuffer
 The Y buffer pointer to a video's YUV data.
 
char *_Nullable uBuffer
 The U buffer pointer to a video's YUV data.
 
char *_Nullable vBuffer
 The V buffer pointer to a video's YUV data.
 
CGSize size
 The video data size.
 
char *_Nullable alphaBuffer
 A pointer to a video's alpha data.
 
unsigned int alphaBufferLen
 The length of the alpha buffer data.
 
MobileRTCFrameDataFormat format
 The raw data format of the video data.
 
MobileRTCVideoRawDataRotation rotation
 The video data rotation.
 
NSDate * timeStamp
 The timestamp of the video data.
 

Detailed Description

Represents raw data received from subscribed video stream.

Definition at line 12 of file MobileRTCVideoRawData.h.

Method Documentation

◆ addRef

- (BOOL) addRef

Increases the reference count by 1.

Returns
YES if successfully added. Otherwise, NO.

◆ canAddRef

- (BOOL) canAddRef

Determines if adding a reference is allowed.

Returns
YES if allowed. Otherwise, NO.

◆ releaseRef

- (NSInteger) releaseRef

Decreases the reference count by 1.

Returns
If the function succeeds, it returns the reference count of this object.

Property Documentation

◆ alphaBuffer

- (char* _Nullable) alphaBuffer
readwritenonatomicassign

A pointer to a video's alpha data.

Definition at line 37 of file MobileRTCVideoRawData.h.

◆ alphaBufferLen

- (unsigned int) alphaBufferLen
readwritenonatomicassign

The length of the alpha buffer data.

Definition at line 42 of file MobileRTCVideoRawData.h.

◆ format

- (MobileRTCFrameDataFormat) format
readwritenonatomicassign

The raw data format of the video data.

Definition at line 47 of file MobileRTCVideoRawData.h.

◆ rotation

- (MobileRTCVideoRawDataRotation) rotation
readwritenonatomicassign

The video data rotation.

Definition at line 52 of file MobileRTCVideoRawData.h.

◆ size

- (CGSize) size
readwritenonatomicassign

The video data size.

Definition at line 32 of file MobileRTCVideoRawData.h.

◆ timeStamp

- (NSDate*) timeStamp
readwritenonatomicstrong

The timestamp of the video data.

Definition at line 57 of file MobileRTCVideoRawData.h.

◆ uBuffer

- (char* _Nullable) uBuffer
readwritenonatomicassign

The U buffer pointer to a video's YUV data.

Definition at line 22 of file MobileRTCVideoRawData.h.

◆ vBuffer

- (char* _Nullable) vBuffer
readwritenonatomicassign

The V buffer pointer to a video's YUV data.

Definition at line 27 of file MobileRTCVideoRawData.h.

◆ yBuffer

- (char*) yBuffer
readwritenonatomicassign

The Y buffer pointer to a video's YUV data.

Definition at line 17 of file MobileRTCVideoRawData.h.