Google Cloud Video Live Stream V1 Client - Class VideoAsset (0.6.2)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class VideoAsset.

VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and FLV. The supported video codec is H264. The supported audio codecs are AAC, AC3, MP2, and MP3.

Generated from protobuf message google.cloud.video.livestream.v1.Asset.VideoAsset

Namespace

Google \ Cloud \ Video \ LiveStream \ V1 \ Asset

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

Cloud Storage URI of the video. The format is gs://my-bucket/my-object.

getUri

Cloud Storage URI of the video. The format is gs://my-bucket/my-object.

Returns
TypeDescription
string

setUri

Cloud Storage URI of the video. The format is gs://my-bucket/my-object.

Parameter
NameDescription
var string
Returns
TypeDescription
$this