Contains information about this system’s video streaming capabilities
Convenience init for creating a video streaming capability with all parameters.
- (nonnull instancetype)
initWithPreferredResolution:
(nullable SDLImageResolution *)preferredResolution
maxBitrate:(int32_t)maxBitrate
supportedFormats:(nullable NSArray<SDLVideoStreamingFormat *> *)
supportedFormats
hapticDataSupported:(BOOL)hapticDataSupported
diagonalScreenSize:(float)diagonalScreenSize
pixelPerInch:(float)pixelPerInch
scale:(float)scale;
init(preferredResolution: SDLImageResolution?, maxBitrate: Int32, supportedFormats: [SDLVideoStreamingFormat]?, hapticDataSupported: Bool, diagonalScreenSize: Float, pixelPerInch: Float, scale: Float)
The preferred resolution of a video stream for decoding and rendering on HMI
The maximum bitrate of video stream that is supported, in kbps
Detailed information on each format supported by this system, in its preferred order
True if the system can utilize the haptic spatial data from the source being streamed
The diagonal screen size in inches
The diagonal resolution in pixels divided by the diagonal screen size in inches
The scaling factor the app should use to change the size of the projecting view
A SDLVideoStreamingCapability object
Convenience init for creating a video streaming capability with all parameters.
- (nonnull instancetype)
initWithPreferredResolution:
(nullable SDLImageResolution *)preferredResolution
maxBitrate:(nullable NSNumber<SDLUInt> *)maxBitrate
supportedFormats:(nullable NSArray<SDLVideoStreamingFormat *> *)
supportedFormats
hapticSpatialDataSupported:
(nullable NSNumber<SDLBool> *)hapticSpatialDataSupported
diagonalScreenSize:
(nullable NSNumber<SDLFloat> *)diagonalScreenSize
pixelPerInch:(nullable NSNumber<SDLFloat> *)pixelPerInch
scale:(nullable NSNumber<SDLFloat> *)scale
preferredFPS:(nullable NSNumber<SDLUInt> *)preferredFPS;
init(preferredResolution: SDLImageResolution?, maxBitrate: (NSNumber & SDLUInt)?, supportedFormats: [SDLVideoStreamingFormat]?, hapticSpatialDataSupported: (NSNumber & SDLBool)?, diagonalScreenSize: (NSNumber & SDLFloat)?, pixelPerInch: (NSNumber & SDLFloat)?, scale: (NSNumber & SDLFloat)?, preferredFPS: (NSNumber & SDLUInt)?)
- preferredResolution
- maxBitrate
- supportedFormats
- hapticSpatialDataSupported
- diagonalScreenSize
- pixelPerInch
- scale
- preferredFPS
A SDLVideoStreamingCapability object
The preferred resolution of a video stream for decoding and rendering on HMI
Optional
@property (nonatomic, strong, nullable) SDLImageResolution *preferredResolution;
var preferredResolution: SDLImageResolution? { get set }
The maximum bitrate of video stream that is supported, in kbps, optional
Optional, minvalue= 0, maxvalue= 2147483647
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *maxBitrate;
var maxBitrate: (NSNumber & SDLInt)? { get set }
Detailed information on each format supported by this system, in its preferred order
Optional
@property (nonatomic, strong, nullable) NSArray<SDLVideoStreamingFormat *> *supportedFormats;
var supportedFormats: [SDLVideoStreamingFormat]? { get set }
True if the system can utilize the haptic spatial data from the source being streamed.
Optional
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *hapticSpatialDataSupported;
var hapticSpatialDataSupported: (NSNumber & SDLBool)? { get set }
The diagonal screen size in inches.
Float, Optional, minvalue=“0” @since SDL 6.0
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *diagonalScreenSize;
var diagonalScreenSize: (NSNumber & SDLFloat)? { get set }
The diagonal resolution in pixels divided by the diagonal screen size in inches.
Float, Optional, minvalue=“0” @since SDL 6.0
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *pixelPerInch;
var pixelPerInch: (NSNumber & SDLFloat)? { get set }
The scaling factor the app should use to change the size of the projecting view.
Float, Optional, minvalue=“1” maxvalue=“10” @since SDL 6.0
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *scale;
var scale: (NSNumber & SDLFloat)? { get set }
{“array_min_size”: 1, “array_max_size”: 100}
@added in SmartDeviceLink 7.1.0
Note
can be recursive under certain circumstances@property (nonatomic, strong, nullable) NSArray<SDLVideoStreamingCapability *> *additionalVideoStreamingCapabilities;
var additionalVideoStreamingCapabilities: [SDLVideoStreamingCapability]? { get set }
The preferred frame rate per second of the head unit. The mobile application / app library may take other factors into account that constrain the frame rate lower than this value, but it should not perform streaming at a higher frame rate than this value. {“num_min_value”: 0, “num_max_value”: 2147483647}
@added in SmartDeviceLink 7.1.0
@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *preferredFPS;
var preferredFPS: (NSNumber & SDLUInt)? { get set }