iOS SDK 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 Video Communications on 2019/8/6.
6// Copyright © 2019 Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11@interface MobileRTCVideoRawData : NSObject
12
16@property (nonatomic, assign) char *yBuffer;
17
21@property (nonatomic, assign) char *uBuffer;
22
26@property (nonatomic, assign) char *vBuffer;
27
31@property (nonatomic, assign) CGSize size;
32
36@property (nonatomic, assign) MobileRTCVideoRawDataFormat format;
37
41@property (nonatomic, assign) MobileRTCVideoRawDataRotation rotation;
42
46- (BOOL)canAddRef;
47
51- (BOOL)addRef;
52
56- (NSInteger)releaseRef;
57
58@end
59
MobileRTCVideoRawDataRotation
MobileRTCVideoResolution The direction of video.
MobileRTCVideoRawDataFormat
MobileRTCVideoResolution An enumeration of video raw data format.
BOOL addRef()
Add reference count.
MobileRTCVideoRawDataRotation rotation
The direction of video data.
BOOL canAddRef()
Can add reference count or not.
char * yBuffer
y data pointer of video's YUV data.
MobileRTCVideoRawDataFormat format
The raw data format of video data.
char * vBuffer
v data pointer of video's YUV data.
NSInteger releaseRef()
Minus reference count.
CGSize size
the size of video data.
char * uBuffer
u data pointer of video's YUV data.