public class AudioEncode extends AbstractModel
| Constructor and Description | 
|---|
| AudioEncode() | 
| AudioEncode(AudioEncode 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 | getBitRate()Get The audio bitrate (Kbps). | 
| Long | getChannel()Get The number of sound channels. | 
| Long | getCodec()Get The audio codec. | 
| Long | getSampleRate()Get The audio sample rate (Hz). | 
| void | setBitRate(Long BitRate)Set The audio bitrate (Kbps). | 
| void | setChannel(Long Channel)Set The number of sound channels. | 
| void | setCodec(Long Codec)Set The audio codec. | 
| void | setSampleRate(Long SampleRate)Set The audio sample rate (Hz). | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic AudioEncode()
public AudioEncode(AudioEncode source)
public Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate - The audio sample rate (Hz). Valid values: 48000, 44100, 32000, 24000, 16000, 8000.public Long getChannel()
public void setChannel(Long Channel)
Channel - The number of sound channels. Valid values: 1 (mono), 2 (dual).public Long getBitRate()
public void setBitRate(Long BitRate)
BitRate - The audio bitrate (Kbps). Value range: 8-500.public Long getCodec()
public void setCodec(Long Codec)
Codec - The audio codec. Valid values: 0 (LC-AAC), 1 (HE-AAC), 2 (HE-AACv2). The default value is 0. If this parameter is set to 2, `Channel` must be 2. If it is set to 1 or 2, `SampleRate` can only be 48000, 44100, 32000, 24000, or 16000.Copyright © 2023. All rights reserved.