public class ComposeAudioStream extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ComposeAudioStream() |
ComposeAudioStream(ComposeAudioStream 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 The number of sound channels.
|
Long |
getBitrate()
Get Reference bitrate, in kbps.
|
String |
getCodec()
Get The codec of the audio stream.
|
Long |
getSampleRate()
Get The sample rate (Hz) of the audio stream.
|
void |
setAudioChannel(Long AudioChannel)
Set The number of sound channels.
|
void |
setBitrate(Long Bitrate)
Set Reference bitrate, in kbps.
|
void |
setCodec(String Codec)
Set The codec of the audio stream.
|
void |
setSampleRate(Long SampleRate)
Set The sample rate (Hz) of the audio stream.
|
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, toJsonStringpublic ComposeAudioStream()
public ComposeAudioStream(ComposeAudioStream source)
public String getCodec()
public void setCodec(String Codec)
Codec - The codec of the audio stream. Valid values:
public Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate - The sample rate (Hz) of the audio stream.
public Long getAudioChannel()
public void setAudioChannel(Long AudioChannel)
AudioChannel - The number of sound channels. Valid values:
u200cpublic Long getBitrate()
public void setBitrate(Long Bitrate)
Bitrate - Reference bitrate, in kbps. Value range: 26-10000.
If set, the encoder will try to encode at this bitrate.
If not set, the service will automatically adopt a suitable bitrate based on audio parameters.Copyright © 2024. All rights reserved.