Class MpegSegmentEntry


  • public class MpegSegmentEntry
    extends java.lang.Object
    Information about one MP4 segment aka fragment
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int duration
      Duration using the timescale of the file
      int size
      Size in bytes
      int type
      Type of the segment
    • Constructor Summary

      Constructors 
      Constructor Description
      MpegSegmentEntry​(int type, int size, int duration)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type

        public final int type
        Type of the segment
      • size

        public final int size
        Size in bytes
      • duration

        public final int duration
        Duration using the timescale of the file
    • Constructor Detail

      • MpegSegmentEntry

        public MpegSegmentEntry​(int type,
                                int size,
                                int duration)
        Parameters:
        type - Type of the segment
        size - Size in bytes
        duration - Duration using the timescale of the file