Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation

VideoStreamingFormat Class Reference

Constructors

Instance Methods

Constructors

new VideoStreamingFormat(parameters)

Initializes an instance of VideoStreamingFormat.

Instance Methods

videoStreamingFormat.getCodec() ⇒ VideoStreamingCodec

Get the Codec

Kind: Instance method of VideoStreamingFormat
Returns: VideoStreamingCodec - the KEY_CODEC value

videoStreamingFormat.getProtocolParam() ⇒ VideoStreamingProtocol

Get the ProtocolParam

Kind: Instance method of VideoStreamingFormat
Returns: VideoStreamingProtocol - the KEY_PROTOCOL value

videoStreamingFormat.setCodec(codec) ⇒ VideoStreamingFormat

Set the Codec

Kind: Instance method of VideoStreamingFormat
Returns: VideoStreamingFormat - The class instance for method chaining.

ParamTypeDescription
codec VideoStreamingCodec Codec type, see VideoStreamingCodec - The desired Codec.

videoStreamingFormat.setProtocolParam(protocol) ⇒ VideoStreamingFormat

Set the ProtocolParam

Kind: Instance method of VideoStreamingFormat
Returns: VideoStreamingFormat - The class instance for method chaining.

ParamTypeDescription
protocol VideoStreamingProtocol Protocol type, see VideoStreamingProtocol - The desired ProtocolParam.
View on GitHub.com