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 \ AssetMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
Cloud Storage URI of the video. The format is |
getUri
Cloud Storage URI of the video. The format is gs://my-bucket/my-object
.
Returns | |
---|---|
Type | Description |
string |
setUri
Cloud Storage URI of the video. The format is gs://my-bucket/my-object
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |