MillicastSDK 2.0.0
Loading...
Searching...
No Matches
capabilities.h
Go to the documentation of this file.
1#import <Foundation/Foundation.h>
2#import <MillicastSDK/exports.h>
3
4typedef NS_CLOSED_ENUM(NSInteger, MCVideoType) {
5 MCVideoTypeUnkown,
6 MCVideoTypeI420,
7 MCVideoTypeI444,
8 MCVideoTypeI210,
9 MCVideoTypeIYUV NS_SWIFT_NAME(iyuv),
10 MCVideoTypeRGB24 NS_SWIFT_NAME(rgb24),
11 MCVideoTypeARGB NS_SWIFT_NAME(argb),
12 MCVideoTypeRGB565 NS_SWIFT_NAME(rgb565),
13 MCVideoTypeYUY2 NS_SWIFT_NAME(yuy2),
14 MCVideoTypeYV12 NS_SWIFT_NAME(yv12),
15 MCVideoTypeUYVY NS_SWIFT_NAME(uyvy),
16 MCVideoTypeMJPEG NS_SWIFT_NAME(mjpeg),
17 MCVideoTypeBGRA NS_SWIFT_NAME(bgra),
18 MCVideoTypeNV12 NS_SWIFT_NAME(nv12),
19 MCVideoTypeNative
20};
21
24
26@property int width;
27
29@property int height;
30
32@property int fps;
33
35@property MCVideoType format;
36
38- (NSString *)formatAsString;
39
40@end
#define MILLICAST_API
Definition exports.h:51
This VideoCapabilities class represents the video capabilities of a video track.
Definition capabilities.h:24
int height
The height of the captured video frame.
Definition capabilities.h:29
NSString * formatAsString()
Gets the pixel format as a string.
int fps
The frame rate that defines the number of frames per second that the video track should be capable of...
Definition capabilities.h:32
int width
The width of the captured video frame.
Definition capabilities.h:26
MCVideoType format
The pixel format to use for the capture.
Definition capabilities.h:35
typedef NS_CLOSED_ENUM(NSInteger, MCVideoType)
Definition capabilities.h:4