public class AudioTemplateInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
AudioTemplateInfo() |
AudioTemplateInfo(AudioTemplateInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAudioChannel()
Get Audio channel mode.
|
Long |
getBitrate()
Get Audio stream bitrate in Kbps.
|
String |
getCodec()
Get Audio stream encoding format.
|
Long |
getSampleRate()
Get Audio stream sample rate.
|
AudioTrackChannelInfo |
getTrackChannelInfo()
Get Merge audio track information.
|
void |
setAudioChannel(Long AudioChannel)
Set Audio channel mode.
|
void |
setBitrate(Long Bitrate)
Set Audio stream bitrate in Kbps.
|
void |
setCodec(String Codec)
Set Audio stream encoding format.
|
void |
setSampleRate(Long SampleRate)
Set Audio stream sample rate.
|
void |
setTrackChannelInfo(AudioTrackChannelInfo TrackChannelInfo)
Set Merge audio track information.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AudioTemplateInfo()
public AudioTemplateInfo(AudioTemplateInfo source)
public String getCodec()
public void setCodec(String Codec)
Codec
- Audio stream encoding format.
When audio transcoding is not needed, the value is:
public Long getBitrate()
public void setBitrate(Long Bitrate)
Bitrate
- Audio stream bitrate in Kbps. Value range: 0 and [26, 256].
If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.public Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate
- Audio stream sample rate. Valid values:
public Long getAudioChannel()
public void setAudioChannel(Long AudioChannel)
AudioChannel
- Audio channel mode. Valid values:
public AudioTrackChannelInfo getTrackChannelInfo()
public void setTrackChannelInfo(AudioTrackChannelInfo TrackChannelInfo)
TrackChannelInfo
- Merge audio track information.
This field only takes effec in adaptive bitrate transcoding.
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.