summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLVideoStreamingCapability.h
blob: a19ec1a689ea7571ea5a5f5bb82cd5be7d0aee41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
//  SDLVideoStreamingCapability.h
//  SmartDeviceLink-iOS
//
//  Created by Brett McIsaac on 7/31/17.
//  Copyright © 2017 smartdevicelink. All rights reserved.
//

#import "SDLRPCMessage.h"

@class SDLImageResolution;
@class SDLVideoStreamingFormat;

NS_ASSUME_NONNULL_BEGIN

@interface SDLVideoStreamingCapability : SDLRPCStruct

- (instancetype)initWithVideoStreaming:(nullable SDLImageResolution *)preferredResolution maxBitrate:(nullable NSNumber *)maxBitrate supportedFormats:(nullable NSArray<SDLVideoStreamingFormat *> *)supportedFormats;
/**
 * @abstract The preferred resolution of a video stream for decoding and rendering on HMI, optional
 */
@property (nullable, strong, nonatomic) SDLImageResolution *preferredResolution;

/**
 * @abstract The maximum bitrate of video stream that is supported, in kbps, optional
 *
 * minvalue= 0
 *
 * maxvalue= 2147483647
 */
@property (nullable, strong, nonatomic) NSNumber<SDLInt> *maxBitrate;

/**
 * @abstract Detailed information on each format supported by this system, in its preferred order, optional
 */
@property (nullable, strong, nonatomic) NSArray<SDLVideoStreamingFormat *> *supportedFormats;


@end

NS_ASSUME_NONNULL_END