Package com.fluendo.plugin
Interface OggPayload
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetFirstTs(java.util.Vector packets)Get the first timestamp of the list of packetsjava.lang.StringgetMime()Get mime typejava.lang.StringgetMime(com.jcraft.jogg.Packet op)Get mime type from the given packetlonggranuleToTime(long gp)Convert the granule pos to a timestampbooleanisDiscontinuous()Check if the stream is discontinuous (eg, no need to wait for data on this stream before playing)booleanisHeader(com.jcraft.jogg.Packet op)Check if the packet contains a header packetbooleanisKeyFrame(com.jcraft.jogg.Packet op)Check if the packet contains a keyframebooleanisType(com.jcraft.jogg.Packet op)Check if the packet contains the signature of the payload.inttakeHeader(com.jcraft.jogg.Packet op)Initialize the payload with a header packet.
-
-
-
Method Detail
-
isType
boolean isType(com.jcraft.jogg.Packet op)
Check if the packet contains the signature of the payload.
-
takeHeader
int takeHeader(com.jcraft.jogg.Packet op)
Initialize the payload with a header packet. Returns a negative value for error, 0 if OK, 1 if OK and ready for decoding data.
-
isHeader
boolean isHeader(com.jcraft.jogg.Packet op)
Check if the packet contains a header packet
-
isKeyFrame
boolean isKeyFrame(com.jcraft.jogg.Packet op)
Check if the packet contains a keyframe
-
getFirstTs
long getFirstTs(java.util.Vector packets)
Get the first timestamp of the list of packets
-
granuleToTime
long granuleToTime(long gp)
Convert the granule pos to a timestamp
-
getMime
java.lang.String getMime()
Get mime type
-
getMime
java.lang.String getMime(com.jcraft.jogg.Packet op)
Get mime type from the given packet
-
isDiscontinuous
boolean isDiscontinuous()
Check if the stream is discontinuous (eg, no need to wait for data on this stream before playing)
-
-