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 \ V1Methods
__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: - |
getCodec
Required. The codec for this text stream.
Supported text codecs:
cea608cea708
| Returns | |
|---|---|
| Type | Description |
string |
|
setCodec
Required. The codec for this text stream.
Supported text codecs:
cea608cea708
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|