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

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

Namespace

Google \ Cloud \ Video \ Transcoder \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

↳ 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.

↳ dash Google\Cloud\Video\Transcoder\V1\Manifest\DashConfig

DASH manifest configuration.

getFileName

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

Returns
Type Description
string

setFileName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Required. Type of the manifest.

Returns
Type Description
int

setType

Required. Type of the manifest.

Parameter
Name Description
var int
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this

getDash

DASH manifest configuration.

Returns
Type Description
Google\Cloud\Video\Transcoder\V1\Manifest\DashConfig|null

hasDash

setDash

DASH manifest configuration.

Parameter
Name Description
var Google\Cloud\Video\Transcoder\V1\Manifest\DashConfig
Returns
Type Description
$this

getManifestConfig

Returns
Type Description
string