SDLVideoStreamingFormat Class Reference

Section Contents

Overview

An available format for video streaming in projection applications

protocol

Protocol type, see VideoStreamingProtocol

Required

Objective-C

@property (nonatomic, strong) SDLVideoStreamingProtocol _Nonnull protocol;

Swift

var `protocol`: SDLVideoStreamingProtocol { get set }

codec

Codec type, see VideoStreamingCodec

Required

Objective-C

@property (nonatomic, strong) 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