Class MpegTrackInfo
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.container.mpeg.MpegTrackInfo
-
public class MpegTrackInfo extends java.lang.ObjectCodec information for an MP4 track
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMpegTrackInfo.BuilderHelper class for constructing a track info instance.
-
Field Summary
Fields Modifier and Type Field Description intchannelCountNumber of audio channelsjava.lang.StringcodecNameName of the codecbyte[]decoderConfigjava.lang.StringhandlerHandler type (soun for audio)intsampleRateSample rate for audiointtrackIdID of the track
-
Constructor Summary
Constructors Constructor Description MpegTrackInfo(int trackId, java.lang.String handler, java.lang.String codecName, int channelCount, int sampleRate, byte[] decoderConfig)
-
-
-
Field Detail
-
trackId
public final int trackId
ID of the track
-
handler
public final java.lang.String handler
Handler type (soun for audio)
-
codecName
public final java.lang.String codecName
Name of the codec
-
channelCount
public final int channelCount
Number of audio channels
-
sampleRate
public final int sampleRate
Sample rate for audio
-
decoderConfig
public final byte[] decoderConfig
-
-
Constructor Detail
-
MpegTrackInfo
public MpegTrackInfo(int trackId, java.lang.String handler, java.lang.String codecName, int channelCount, int sampleRate, byte[] decoderConfig)- Parameters:
trackId- ID of the trackhandler- Handler type (soun for audio)codecName- Name of the codecchannelCount- Number of audio channelssampleRate- Sample rate for audiodecoderConfig-
-
-