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

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
NameDescription
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
TypeDescription
string

setCodec

Required. The codec for this text stream.

Supported text codecs:

  • cea608
  • cea708
Parameter
NameDescription
var string
Returns
TypeDescription
$this