Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCVideoRawData.h
Go to the documentation of this file.
1//
2// MobileRTCVideoRawData.h
3// MobileRTC
4//
5// Created by Zoom Communications on 2019/8/6.
6// Copyright © Zoom Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
15@interface MobileRTCVideoRawData : NSObject
16
20@property (nonatomic, assign, nullable) char *yBuffer;
21
25@property (nonatomic, assign) char * _Nullable uBuffer;
26
30@property (nonatomic, assign) char * _Nullable vBuffer;
31
35@property (nonatomic, assign) CGSize size;
36
40@property (nonatomic, assign) char * _Nullable alphaBuffer;
41
45@property (nonatomic, assign) unsigned int alphaBufferLen;
46
50@property (nonatomic, assign) MobileRTCFrameDataFormat format;
51
55@property (nonatomic, assign) MobileRTCVideoRawDataRotation rotation;
56
60@property(nonatomic, strong, nullable) NSDate *timeStamp;
61
66- (BOOL)canAddRef;
67
72- (BOOL)addRef;
73
77- (NSInteger)releaseRef;
78
79@end
80
MobileRTCFrameDataFormat
Enumeration of video frame data format.
MobileRTCVideoRawDataRotation
Enumeration of directions of video.
Represents raw data received from subscribed video stream.
BOOL addRef()
Add to reference count.
MobileRTCFrameDataFormat format
The video data's raw data format.
MobileRTCVideoRawDataRotation rotation
The video data's rotation.
BOOL canAddRef()
Whether adding a reference is allowed.
char * yBuffer
The y-data pointer to a video's YUV data.
char *_Nullable alphaBuffer
The data pointer to a video's alpha data.
char *_Nullable vBuffer
The v-data data pointer to a video's YUV data.
unsigned int alphaBufferLen
The alpha buffer data length.
NSInteger releaseRef()
Subtract from reference count.
char *_Nullable uBuffer
The u-data data pointer to a video's YUV data.
NSDate * timeStamp
TimeStamp of video data.
CGSize size
The video data's size.