Google Cloud Video Live Stream V1 Client - Class TextStream (1.1.1)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class TextStream.

Encoding of a text stream. For example, closed captions or subtitles.

Generated from protobuf message google.cloud.video.livestream.v1.TextStream

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ codec string

Required. The codec for this text stream. Supported text codecs: - cea608 - cea708

getCodec

Required. The codec for this text stream.

Supported text codecs:

  • cea608
  • cea708
Returns
Type Description
string

setCodec

Required. The codec for this text stream.

Supported text codecs:

  • cea608
  • cea708
Parameter
Name Description
var string
Returns
Type Description
$this