Class MpegTrackInfo


  • public class MpegTrackInfo
    extends java.lang.Object
    Codec information for an MP4 track
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MpegTrackInfo.Builder
      Helper class for constructing a track info instance.
    • Constructor Summary

      Constructors 
      Constructor Description
      MpegTrackInfo​(int trackId, java.lang.String handler, java.lang.String codecName, int channelCount, int sampleRate, byte[] decoderConfig)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 track
        handler - Handler type (soun for audio)
        codecName - Name of the codec
        channelCount - Number of audio channels
        sampleRate - Sample rate for audio
        decoderConfig -