public class AudioTemplateInfoForUpdate extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AudioTemplateInfoForUpdate() | 
| AudioTemplateInfoForUpdate(AudioTemplateInfoForUpdate 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 The sampling rate of the audio stream. | 
| Long[] | getStreamSelects()Get The audio tracks to retain. | 
| 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 The sampling rate of the audio stream. | 
| void | setStreamSelects(Long[] StreamSelects)Set The audio tracks to retain. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AudioTemplateInfoForUpdate()
public AudioTemplateInfoForUpdate(AudioTemplateInfoForUpdate 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 - The sampling rate of the audio stream. the sampling rate options supported by different encoding standards are different. for details, see the audio sample rate support scope document (https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53).
Unit: Hz.
Please ensure that the sampling rate of the source audio stream is within the scope of the above options. otherwise, transcoding failure may occur.
Note: This field may return null, indicating that no valid value can be obtained.public Long getAudioChannel()
public void setAudioChannel(Long AudioChannel)
AudioChannel - Audio channel mode. Valid values:
public Long[] getStreamSelects()
public void setStreamSelects(Long[] StreamSelects)
StreamSelects - The audio tracks to retain. All audio tracks are retained by default.Copyright © 2025. All rights reserved.