Google Cloud Video Transcoder V1 Client - Class Manifest (0.9.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

Namespace

Google \ Cloud \ Video \ Transcoder \ V1

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.

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

Returns
TypeDescription
int

setType

Required. Type of the manifest.

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

getDash

DASH manifest configuration.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\Manifest\DashConfig|null

hasDash

setDash

DASH manifest configuration.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\Manifest\DashConfig
Returns
TypeDescription
$this

getManifestConfig

Returns
TypeDescription
string