Class MediaAudioStreamItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.MediaAudioStreamItem
-
public class MediaAudioStreamItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MediaAudioStreamItem()MediaAudioStreamItem(MediaAudioStreamItem 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 LonggetBitrate()Get 音频流的码率,单位:bps。LonggetChannel()Get 音频声道数,例如 2。 注意:此字段可能返回 null,表示取不到有效值。StringgetCodec()Get 音频流的编码格式,例如 aac。StringgetCodecs()Get 音频Codecs。 注意:此字段可能返回 null,表示取不到有效值。FloatgetLoudness()Get 音频响度。 注意:此字段可能返回 null,表示取不到有效值。LonggetSamplingRate()Get 音频流的采样率,单位:hz。voidsetBitrate(Long Bitrate)Set 音频流的码率,单位:bps。voidsetChannel(Long Channel)Set 音频声道数,例如 2。 注意:此字段可能返回 null,表示取不到有效值。voidsetCodec(String Codec)Set 音频流的编码格式,例如 aac。voidsetCodecs(String Codecs)Set 音频Codecs。 注意:此字段可能返回 null,表示取不到有效值。voidsetLoudness(Float Loudness)Set 音频响度。 注意:此字段可能返回 null,表示取不到有效值。voidsetSamplingRate(Long SamplingRate)Set 音频流的采样率,单位:hz。voidtoMap(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
-
MediaAudioStreamItem
public MediaAudioStreamItem()
-
MediaAudioStreamItem
public MediaAudioStreamItem(MediaAudioStreamItem 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
-
getBitrate
public Long getBitrate()
Get 音频流的码率,单位:bps。- Returns:
- Bitrate 音频流的码率,单位:bps。
-
setBitrate
public void setBitrate(Long Bitrate)
Set 音频流的码率,单位:bps。- Parameters:
Bitrate- 音频流的码率,单位:bps。
-
getSamplingRate
public Long getSamplingRate()
Get 音频流的采样率,单位:hz。- Returns:
- SamplingRate 音频流的采样率,单位:hz。
-
setSamplingRate
public void setSamplingRate(Long SamplingRate)
Set 音频流的采样率,单位:hz。- Parameters:
SamplingRate- 音频流的采样率,单位:hz。
-
getCodec
public String getCodec()
Get 音频流的编码格式,例如 aac。- Returns:
- Codec 音频流的编码格式,例如 aac。
-
setCodec
public void setCodec(String Codec)
Set 音频流的编码格式,例如 aac。- Parameters:
Codec- 音频流的编码格式,例如 aac。
-
getChannel
public Long getChannel()
Get 音频声道数,例如 2。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Channel 音频声道数,例如 2。 注意:此字段可能返回 null,表示取不到有效值。
-
setChannel
public void setChannel(Long Channel)
Set 音频声道数,例如 2。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Channel- 音频声道数,例如 2。 注意:此字段可能返回 null,表示取不到有效值。
-
getCodecs
public String getCodecs()
Get 音频Codecs。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Codecs 音频Codecs。 注意:此字段可能返回 null,表示取不到有效值。
-
setCodecs
public void setCodecs(String Codecs)
Set 音频Codecs。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Codecs- 音频Codecs。 注意:此字段可能返回 null,表示取不到有效值。
-
getLoudness
public Float getLoudness()
Get 音频响度。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Loudness 音频响度。 注意:此字段可能返回 null,表示取不到有效值。
-
setLoudness
public void setLoudness(Float Loudness)
Set 音频响度。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Loudness- 音频响度。 注意:此字段可能返回 null,表示取不到有效值。
-
-