Google Cloud Video Transcoder V1 Client - Class Manifest (0.7.1)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class Manifest.

Manifest configuration.

Generated from protobuf message google.cloud.video.transcoder.v1.Manifest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ file_name string

The name of the generated file. The default is manifest with the extension suffix corresponding to the Manifest.type.

↳ type int

Required. Type of the manifest, can be HLS or DASH.

↳ mux_streams array

Required. List of user given MuxStream.keys that should appear in this manifest. When Manifest.type is HLS, a media manifest with name MuxStream.key and .m3u8 extension is generated for each element of the Manifest.mux_streams.

getFileName

The name of the generated file. The default is manifest with the extension suffix corresponding to the Manifest.type.

Returns
TypeDescription
string

setFileName

The name of the generated file. The default is manifest with the extension suffix corresponding to the Manifest.type.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Required. Type of the manifest, can be HLS or DASH.

Returns
TypeDescription
int

setType

Required. Type of the manifest, can be HLS or DASH.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMuxStreams

Required. List of user given MuxStream.keys that should appear in this manifest.

When Manifest.type is HLS, a media manifest with name MuxStream.key and .m3u8 extension is generated for each element of the Manifest.mux_streams.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMuxStreams

Required. List of user given MuxStream.keys that should appear in this manifest.

When Manifest.type is HLS, a media manifest with name MuxStream.key and .m3u8 extension is generated for each element of the Manifest.mux_streams.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this