Record Class FFprobeBaseFrame
java.lang.Object
java.lang.Record
tv.hd3g.fflauncher.ffprobecontainer.FFprobeBaseFrame
public record FFprobeBaseFrame(FFprobeCodecType mediaType, int streamIndex, boolean keyFrame, long pts, float ptsTime, long pktDts, float pktDtsTime, long bestEffortTimestamp, float bestEffortTimestampTime, int pktDuration, float pktDurationTime, long pktPos, int pktSize)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFFprobeBaseFrame(FFprobeCodecType mediaType, int streamIndex, boolean keyFrame, long pts, float ptsTime, long pktDts, float pktDtsTime, long bestEffortTimestamp, float bestEffortTimestampTime, int pktDuration, float pktDurationTime, long pktPos, int pktSize) Creates an instance of aFFprobeBaseFramerecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thebestEffortTimestamprecord component.floatReturns the value of thebestEffortTimestampTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleankeyFrame()Returns the value of thekeyFramerecord component.Returns the value of themediaTyperecord component.longpktDts()Returns the value of thepktDtsrecord component.floatReturns the value of thepktDtsTimerecord component.intReturns the value of thepktDurationrecord component.floatReturns the value of thepktDurationTimerecord component.longpktPos()Returns the value of thepktPosrecord component.intpktSize()Returns the value of thepktSizerecord component.longpts()Returns the value of theptsrecord component.floatptsTime()Returns the value of theptsTimerecord component.intReturns the value of thestreamIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FFprobeBaseFrame
public FFprobeBaseFrame(FFprobeCodecType mediaType, int streamIndex, boolean keyFrame, long pts, float ptsTime, long pktDts, float pktDtsTime, long bestEffortTimestamp, float bestEffortTimestampTime, int pktDuration, float pktDurationTime, long pktPos, int pktSize) Creates an instance of aFFprobeBaseFramerecord class.- Parameters:
mediaType- the value for themediaTyperecord componentstreamIndex- the value for thestreamIndexrecord componentkeyFrame- the value for thekeyFramerecord componentpts- the value for theptsrecord componentptsTime- the value for theptsTimerecord componentpktDts- the value for thepktDtsrecord componentpktDtsTime- the value for thepktDtsTimerecord componentbestEffortTimestamp- the value for thebestEffortTimestamprecord componentbestEffortTimestampTime- the value for thebestEffortTimestampTimerecord componentpktDuration- the value for thepktDurationrecord componentpktDurationTime- the value for thepktDurationTimerecord componentpktPos- the value for thepktPosrecord componentpktSize- the value for thepktSizerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
mediaType
Returns the value of themediaTyperecord component.- Returns:
- the value of the
mediaTyperecord component
-
streamIndex
public int streamIndex()Returns the value of thestreamIndexrecord component.- Returns:
- the value of the
streamIndexrecord component
-
keyFrame
public boolean keyFrame()Returns the value of thekeyFramerecord component.- Returns:
- the value of the
keyFramerecord component
-
pts
public long pts()Returns the value of theptsrecord component.- Returns:
- the value of the
ptsrecord component
-
ptsTime
public float ptsTime()Returns the value of theptsTimerecord component.- Returns:
- the value of the
ptsTimerecord component
-
pktDts
public long pktDts()Returns the value of thepktDtsrecord component.- Returns:
- the value of the
pktDtsrecord component
-
pktDtsTime
public float pktDtsTime()Returns the value of thepktDtsTimerecord component.- Returns:
- the value of the
pktDtsTimerecord component
-
bestEffortTimestamp
public long bestEffortTimestamp()Returns the value of thebestEffortTimestamprecord component.- Returns:
- the value of the
bestEffortTimestamprecord component
-
bestEffortTimestampTime
public float bestEffortTimestampTime()Returns the value of thebestEffortTimestampTimerecord component.- Returns:
- the value of the
bestEffortTimestampTimerecord component
-
pktDuration
public int pktDuration()Returns the value of thepktDurationrecord component.- Returns:
- the value of the
pktDurationrecord component
-
pktDurationTime
public float pktDurationTime()Returns the value of thepktDurationTimerecord component.- Returns:
- the value of the
pktDurationTimerecord component
-
pktPos
public long pktPos()Returns the value of thepktPosrecord component.- Returns:
- the value of the
pktPosrecord component
-
pktSize
public int pktSize()Returns the value of thepktSizerecord component.- Returns:
- the value of the
pktSizerecord component
-