summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLControlFramePayloadVideoStartService.h
blob: 63274f3efa49503a2a5be1b7905f1e520656f7dc (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
//
//  SDLControlFramePayloadVideoStartService.h
//  SmartDeviceLink-iOS
//
//  Created by Joel Fischer on 7/24/17.
//  Copyright © 2017 smartdevicelink. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "SDLControlFramePayloadType.h"

#import "SDLVideoStreamingCodec.h"
#import "SDLVideoStreamingProtocol.h"

NS_ASSUME_NONNULL_BEGIN

@interface SDLControlFramePayloadVideoStartService : NSObject <SDLControlFramePayloadType>

/// Desired height in pixels from the client requesting the video service to start
@property (assign, nonatomic, readonly) int32_t height;

/// Desired width in pixels from the client requesting the video service to start
@property (assign, nonatomic, readonly) int32_t width;

/// Desired video protocol to be used. See VideoStreamingProtocol RPC
@property (copy, nonatomic, readonly, nullable) SDLVideoStreamingCodec videoCodec;

/// Desired video codec to be used. See VideoStreamingCodec RPC
@property (copy, nonatomic, readonly, nullable) SDLVideoStreamingProtocol videoProtocol;

- (instancetype)initWithVideoHeight:(int32_t)height width:(int32_t)width protocol:(nullable SDLVideoStreamingProtocol)protocol codec:(nullable SDLVideoStreamingCodec)codec;

@end

NS_ASSUME_NONNULL_END