Class ComposeAudioStream
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.ComposeAudioStream
-
public class ComposeAudioStream extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getAudioChannel()
Get 声道数,可选值: 1:单声道 。 2:双声道(默认)。String
getCodec()
Get 音频流的编码方式,可选值: AAC:AAC 编码(默认),用于容器为 mp4。 MP3:mp3 编码,用于容器为 mp3。Long
getSampleRate()
Get 音频流的采样率,单位:Hz,可选值: 16000(默认) 32000 44100 48000void
setAudioChannel(Long AudioChannel)
Set 声道数,可选值: 1:单声道 。 2:双声道(默认)。void
setCodec(String Codec)
Set 音频流的编码方式,可选值: AAC:AAC 编码(默认),用于容器为 mp4。 MP3:mp3 编码,用于容器为 mp3。void
setSampleRate(Long SampleRate)
Set 音频流的采样率,单位:Hz,可选值: 16000(默认) 32000 44100 48000void
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
-
ComposeAudioStream
public ComposeAudioStream()
-
ComposeAudioStream
public 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.
-
-
Method Detail
-
getCodec
public String getCodec()
Get 音频流的编码方式,可选值:- AAC:AAC 编码(默认),用于容器为 mp4。
- MP3:mp3 编码,用于容器为 mp3。
- Returns:
- Codec 音频流的编码方式,可选值:
- AAC:AAC 编码(默认),用于容器为 mp4。
- MP3:mp3 编码,用于容器为 mp3。
-
setCodec
public void setCodec(String Codec)
Set 音频流的编码方式,可选值:- AAC:AAC 编码(默认),用于容器为 mp4。
- MP3:mp3 编码,用于容器为 mp3。
- Parameters:
Codec
- 音频流的编码方式,可选值:- AAC:AAC 编码(默认),用于容器为 mp4。
- MP3:mp3 编码,用于容器为 mp3。
-
getSampleRate
public Long getSampleRate()
Get 音频流的采样率,单位:Hz,可选值:- 16000(默认)
- 32000
- 44100
- 48000
- Returns:
- SampleRate 音频流的采样率,单位:Hz,可选值:
- 16000(默认)
- 32000
- 44100
- 48000
-
setSampleRate
public void setSampleRate(Long SampleRate)
Set 音频流的采样率,单位:Hz,可选值:- 16000(默认)
- 32000
- 44100
- 48000
- Parameters:
SampleRate
- 音频流的采样率,单位:Hz,可选值:- 16000(默认)
- 32000
- 44100
- 48000
-
getAudioChannel
public Long getAudioChannel()
Get 声道数,可选值:- 1:单声道 。
- 2:双声道(默认)。
- Returns:
- AudioChannel 声道数,可选值:
- 1:单声道 。
- 2:双声道(默认)。
-
setAudioChannel
public void setAudioChannel(Long AudioChannel)
Set 声道数,可选值:- 1:单声道 。
- 2:双声道(默认)。
- Parameters:
AudioChannel
- 声道数,可选值:- 1:单声道 。
- 2:双声道(默认)。
-
-