Class OutputAudioStream
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vod.v20180717.models.OutputAudioStream
-
public class OutputAudioStream extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description OutputAudioStream()
OutputAudioStream(OutputAudioStream 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getAudioChannel()
Get 音频声道数,可选值: 1:单声道 。 2:双声道 默认值:2。String
getCodec()
Get 音频流的编码格式,可选值: libfdk_aac:适合 mp4 文件。 默认值:libfdk_aac。Long
getSampleRate()
Get 音频流的采样率,可选值: 16000 32000 44100 48000 单位:Hz。 默认值:16000。void
setAudioChannel(Long AudioChannel)
Set 音频声道数,可选值: 1:单声道 。 2:双声道 默认值:2。void
setCodec(String Codec)
Set 音频流的编码格式,可选值: libfdk_aac:适合 mp4 文件。 默认值:libfdk_aac。void
setSampleRate(Long SampleRate)
Set 音频流的采样率,可选值: 16000 32000 44100 48000 单位:Hz。 默认值:16000。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
OutputAudioStream
public OutputAudioStream()
-
OutputAudioStream
public OutputAudioStream(OutputAudioStream 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.
-
-
Method Detail
-
getCodec
public String getCodec()
Get 音频流的编码格式,可选值:- libfdk_aac:适合 mp4 文件。
默认值:libfdk_aac。- Returns:
- Codec 音频流的编码格式,可选值:
- libfdk_aac:适合 mp4 文件。
默认值:libfdk_aac。
-
setCodec
public void setCodec(String Codec)
Set 音频流的编码格式,可选值:- libfdk_aac:适合 mp4 文件。
默认值:libfdk_aac。- Parameters:
Codec
- 音频流的编码格式,可选值:- libfdk_aac:适合 mp4 文件。
默认值:libfdk_aac。
-
getSampleRate
public Long getSampleRate()
Get 音频流的采样率,可选值:- 16000
- 32000
- 44100
- 48000
单位:Hz。 默认值:16000。- Returns:
- SampleRate 音频流的采样率,可选值:
- 16000
- 32000
- 44100
- 48000
单位:Hz。 默认值:16000。
-
setSampleRate
public void setSampleRate(Long SampleRate)
Set 音频流的采样率,可选值:- 16000
- 32000
- 44100
- 48000
单位:Hz。 默认值:16000。- Parameters:
SampleRate
- 音频流的采样率,可选值:- 16000
- 32000
- 44100
- 48000
单位:Hz。 默认值:16000。
-
getAudioChannel
public Long getAudioChannel()
Get 音频声道数,可选值:- 1:单声道 。
- 2:双声道
默认值:2。- Returns:
- AudioChannel 音频声道数,可选值:
- 1:单声道 。
- 2:双声道
默认值:2。
-
setAudioChannel
public void setAudioChannel(Long AudioChannel)
Set 音频声道数,可选值:- 1:单声道 。
- 2:双声道
默认值:2。- Parameters:
AudioChannel
- 音频声道数,可选值:- 1:单声道 。
- 2:双声道
默认值:2。
-
-