public static final class GetMezzanineInfoRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GetMezzanineInfoRequest.Builder |
additionType(String additionType)
The type of additional information.
|
GetMezzanineInfoRequest.Builder |
authTimeout(Long authTimeout)
The validity period of the mezzanine file URL.
|
GetMezzanineInfoRequest |
build() |
GetMezzanineInfoRequest.Builder |
outputType(String outputType)
The type of the mezzanine file URL.
|
GetMezzanineInfoRequest.Builder |
videoId(String videoId)
The ID of the video.
|
public GetMezzanineInfoRequest.Builder additionType(String additionType)
* **video**: video stream information * **audio**: audio stream information
public GetMezzanineInfoRequest.Builder authTimeout(Long authTimeout)
* If the OutputType parameter is set to **cdn**: * The mezzanine file URL has a validity period only if URL signing is enabled. Otherwise, the mezzanine file URL is permanently valid. * Minimum value: **1**. * Maximum Value: unlimited. * Default value: If you do not set this parameter, the default validity period that is specified in URL signing is used. * If the OutputType parameter is set to **oss**: * The mezzanine file URL has a validity period only if the permissions on the Object Storage Service (OSS) bucket are private. Otherwise, the mezzanine file URL is permanently valid. * Minimum value: **1**. * Maximum value: **2592000** (30 days). The maximum value is limited to reduce security risks of the origin. * Default value: If you do not set this parameter, the default value is **3600**.
public GetMezzanineInfoRequest.Builder outputType(String outputType)
- **oss**: OSS URL - **cdn** (default): Content Delivery Network (CDN) URL > If the mezzanine file is stored in a bucket of the in type, only an OSS URL is returned.
public GetMezzanineInfoRequest.Builder videoId(String videoId)
public GetMezzanineInfoRequest build()
Copyright © 2024. All rights reserved.