Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLVideoStreamingFormat Class Reference

Section Contents

Overview

An available format for video streaming in projection applications

protocol

Protocol type, see VideoStreamingProtocol

Required

Objective-C

@property (readwrite, strong, nonatomic)
    SDLVideoStreamingProtocol _Nonnull protocol;

Swift

var `protocol`: SDLVideoStreamingProtocol { get set }

codec

Codec type, see VideoStreamingCodec

Required

Objective-C

@property (readwrite, strong, nonatomic) SDLVideoStreamingCodec _Nonnull codec;

Swift

var codec: SDLVideoStreamingCodec { get set }

-initWithCodec:protocol:

Convenience init

Objective-C

- (nonnull instancetype)initWithCodec:(nonnull SDLVideoStreamingCodec)codec
                             protocol:
                                 (nonnull SDLVideoStreamingProtocol)protocol;

Swift

init(codec: SDLVideoStreamingCodec, protocol: SDLVideoStreamingProtocol)

Parameters

codec

Codec type, see VideoStreamingCodec

protocol

Protocol type, see VideoStreamingProtocol

Return Value

An SDLVideoStreamingFormat object

View on GitHub.com
Previous Section Next Section