Google Cloud Video Transcoder V1 Client - Class MuxStream (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class MuxStream.
Multiplexing settings for output stream.
Generated from protobuf message google.cloud.video.transcoder.v1.MuxStream
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
A unique key for this multiplexed stream. HLS media manifests will be named |
↳ file_name |
string
The name of the generated file. The default is |
↳ container |
string
The container format. The default is |
↳ elementary_streams |
array
List of |
↳ segment_settings |
Google\Cloud\Video\Transcoder\V1\SegmentSettings
Segment settings for |
getKey
A unique key for this multiplexed stream. HLS media manifests will be
named MuxStream.key with the .m3u8 extension suffix.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKey
A unique key for this multiplexed stream. HLS media manifests will be
named MuxStream.key with the .m3u8 extension suffix.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFileName
The name of the generated file. The default is MuxStream.key with the
extension suffix corresponding to the MuxStream.container.
Individual segments also have an incremental 10-digit zero-padded suffix
starting from 0 before the extension, such as mux_stream0000000123.ts.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFileName
The name of the generated file. The default is MuxStream.key with the
extension suffix corresponding to the MuxStream.container.
Individual segments also have an incremental 10-digit zero-padded suffix
starting from 0 before the extension, such as mux_stream0000000123.ts.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContainer
The container format. The default is mp4
Supported container formats:
tsfmp4- the corresponding file extension is.m4smp4vttSee also: Supported input and output formats
| Returns | |
|---|---|
| Type | Description |
string |
|
setContainer
The container format. The default is mp4
Supported container formats:
tsfmp4- the corresponding file extension is.m4smp4vttSee also: Supported input and output formats
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getElementaryStreams
List of ElementaryStream.keys multiplexed in this stream.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setElementaryStreams
List of ElementaryStream.keys multiplexed in this stream.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSegmentSettings
Segment settings for ts, fmp4 and vtt.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Video\Transcoder\V1\SegmentSettings|null |
|
hasSegmentSettings
clearSegmentSettings
setSegmentSettings
Segment settings for ts, fmp4 and vtt.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Video\Transcoder\V1\SegmentSettings
|
| Returns | |
|---|---|
| Type | Description |
$this |
|