public static final class UploadStreamByURLRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
UploadStreamByURLRequest |
build() |
UploadStreamByURLRequest.Builder |
definition(String definition)
The quality of the video stream.
|
UploadStreamByURLRequest.Builder |
fileExtension(String fileExtension)
The file name extension of the transcoded stream.
|
UploadStreamByURLRequest.Builder |
HDRType(String HDRType)
The HDR type of the transcoded stream.
|
UploadStreamByURLRequest.Builder |
mediaId(String mediaId)
The media ID in ApsaraVideo VOD.
|
UploadStreamByURLRequest.Builder |
streamURL(String streamURL)
The URL of the transcoded stream.
|
UploadStreamByURLRequest.Builder |
userData(String userData)
The user-defined parameter.
|
public UploadStreamByURLRequest.Builder definition(String definition)
For more information about valid values of this parameter, see [Parameters for media assets](~~124671~~).
public UploadStreamByURLRequest.Builder fileExtension(String fileExtension)
For more information, see the Supported media file formats section in [Overview](~~55396~~). If you set a value for this parameter, the file name extension specified in StreamURL is overwritten. > This parameter is required if you do not specify a file name extension in StreamURL.
public UploadStreamByURLRequest.Builder HDRType(String HDRType)
* HDR * HDR10 * HLG * DolbyVision * HDRVivid * SDR+ > * The HDR type of the transcoded stream is not case-sensitive. * You can leave this parameter empty for non-HDR streams.
public UploadStreamByURLRequest.Builder mediaId(String mediaId)
public UploadStreamByURLRequest.Builder streamURL(String streamURL)
If URL authentication is required, you must pass authentication information in this parameter and make sure that the URL can be accessed over the Internet.
public UploadStreamByURLRequest.Builder userData(String userData)
> The callback configurations you specify for this parameter take effect only after you specify the HTTP callback URL and select specific callback events in the ApsaraVideo VOD console. For more information about how to configure HTTP callback settings in the ApsaraVideo VOD console, see [Configure callback settings](~~86071~~).
public UploadStreamByURLRequest build()
Copyright © 2024. All rights reserved.