Class VideoEncodingPresetAudioSetting
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cme.v20191029.models.VideoEncodingPresetAudioSetting
-
public class VideoEncodingPresetAudioSetting extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description VideoEncodingPresetAudioSetting()
VideoEncodingPresetAudioSetting(VideoEncodingPresetAudioSetting 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
getBitrate()
Get 音频码率,单位:bps。 默认值:64K。Long
getChannels()
Get 音频声道数,可选值: 1:单声道; 2:双声道。 默认值:2。String
getCodec()
Get 音频流的编码格式,可选值: AAC:AAC 编码。 默认值:AAC。Long
getSampleRate()
Get 音频流的采样率,仅支持 16000; 32000; 44100; 48000。单位:Hz。 默认值:16000。void
setBitrate(Long Bitrate)
Set 音频码率,单位:bps。 默认值:64K。void
setChannels(Long Channels)
Set 音频声道数,可选值: 1:单声道; 2:双声道。 默认值:2。void
setCodec(String Codec)
Set 音频流的编码格式,可选值: AAC:AAC 编码。 默认值: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
-
VideoEncodingPresetAudioSetting
public VideoEncodingPresetAudioSetting()
-
VideoEncodingPresetAudioSetting
public VideoEncodingPresetAudioSetting(VideoEncodingPresetAudioSetting 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 音频流的编码格式,可选值: AAC:AAC 编码。 默认值:AAC。- Returns:
- Codec 音频流的编码格式,可选值: AAC:AAC 编码。 默认值:AAC。
-
setCodec
public void setCodec(String Codec)
Set 音频流的编码格式,可选值: AAC:AAC 编码。 默认值:AAC。- Parameters:
Codec
- 音频流的编码格式,可选值: AAC:AAC 编码。 默认值:AAC。
-
getBitrate
public Long getBitrate()
Get 音频码率,单位:bps。 默认值:64K。- Returns:
- Bitrate 音频码率,单位:bps。 默认值:64K。
-
setBitrate
public void setBitrate(Long Bitrate)
Set 音频码率,单位:bps。 默认值:64K。- Parameters:
Bitrate
- 音频码率,单位:bps。 默认值:64K。
-
getChannels
public Long getChannels()
Get 音频声道数,可选值:- 1:单声道;
- 2:双声道。
默认值:2。- Returns:
- Channels 音频声道数,可选值:
- 1:单声道;
- 2:双声道。
默认值:2。
-
setChannels
public void setChannels(Long Channels)
Set 音频声道数,可选值:- 1:单声道;
- 2:双声道。
默认值:2。- Parameters:
Channels
- 音频声道数,可选值:- 1:单声道;
- 2:双声道。
默认值:2。
-
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。
-
-