Class MpegGlobalSeekInfo
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.container.mpeg.reader.fragmented.MpegGlobalSeekInfo
-
public class MpegGlobalSeekInfo extends java.lang.ObjectDescribes the seek info for a fragmented MP4 file
-
-
Field Summary
Fields Modifier and Type Field Description MpegSegmentEntry[]entriesSize and duration information for each segmentlong[]fileOffsetsAbsolute file offset of each segmentlong[]timeOffsetsAbsolute timecode offset of each segmentinttimescaleThe value of the internal timecodes that corresponds to one second
-
Constructor Summary
Constructors Constructor Description MpegGlobalSeekInfo(int timescale, long baseOffset, MpegSegmentEntry[] entries)
-
-
-
Field Detail
-
timescale
public final int timescale
The value of the internal timecodes that corresponds to one second
-
entries
public final MpegSegmentEntry[] entries
Size and duration information for each segment
-
timeOffsets
public final long[] timeOffsets
Absolute timecode offset of each segment
-
fileOffsets
public final long[] fileOffsets
Absolute file offset of each segment
-
-
Constructor Detail
-
MpegGlobalSeekInfo
public MpegGlobalSeekInfo(int timescale, long baseOffset, MpegSegmentEntry[] entries)- Parameters:
timescale- The value of the internal timecodes that corresponds to one secondbaseOffset- The file offset of the first segmententries- Size and duration information for each segment
-
-