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
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, can be HLS or DASH .

↳ mux_streams
array

Required. List of user given MuxStream.key s 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
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, can be HLS or DASH .

Returns
Type
Description
int

setType

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

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getMuxStreams

Required. List of user given MuxStream.key s 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

setMuxStreams

Required. List of user given MuxStream.key s 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
Create a Mobile Website
View Site in Mobile | Classic
Share by: