public class TrackInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
TrackInfo() |
TrackInfo(TrackInfo 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 |
---|---|
Float[] |
getChannelVolume()
Get Sound channel volume.
|
String |
getTrackNum()
Get Audio track and sound channel serial number, description:
When the SelectType value is trask, this value is of the integer type, for example: 1.
|
void |
setChannelVolume(Float[] ChannelVolume)
Set Sound channel volume.
|
void |
setTrackNum(String TrackNum)
Set Audio track and sound channel serial number, description:
When the SelectType value is trask, this value is of the integer type, for example: 1.
|
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, toJsonString
public TrackInfo()
public TrackInfo(TrackInfo source)
public String getTrackNum()
public void setTrackNum(String TrackNum)
TrackNum
- Audio track and sound channel serial number, description:
When the SelectType value is trask, this value is of the integer type, for example: 1.
When the SelectType value is trask_channel, this value is of the decimal type, for example: 1.0.
Default value: `1.0`.
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index of the audio track, and input of 0 and positive integers is supported. The decimal part supports up to 2 decimal places, and only 0 - 63 is supported. However, when the Codec is aac/eac3/ac3, only 0 - 15 is supported for the decimal part. For example: for an audio track with a stream index of 1, 1.0 represents the first sound channel of this audio track, and 1.1 represents the second sound channel of this audio track.
Note: This field may return null, indicating that no valid value can be obtained.public Float[] getChannelVolume()
public void setChannelVolume(Float[] ChannelVolume)
ChannelVolume
- Sound channel volume. specifies the volume of the sound channel.
When the value of AudioChannel is 1, the value length is 1.
When the value of AudioChannel is 2, the value length is 2.
When the value of AudioChannel is 6, the length of this value is greater than 2.
The array value of this parameter has a valid value range of [-60, 6]. among them, -60 indicates mute, 0 indicates keeping the original volume, and 6 means doubling the original volume. the default value is -60.
Supports 3 decimal places.
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.