Package com.fluendo.plugin
Interface OggPayload
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getFirstTs(java.util.Vector packets)
Get the first timestamp of the list of packetsjava.lang.String
getMime()
Get mime typejava.lang.String
getMime(com.jcraft.jogg.Packet op)
Get mime type from the given packetlong
granuleToTime(long gp)
Convert the granule pos to a timestampboolean
isDiscontinuous()
Check if the stream is discontinuous (eg, no need to wait for data on this stream before playing)boolean
isHeader(com.jcraft.jogg.Packet op)
Check if the packet contains a header packetboolean
isKeyFrame(com.jcraft.jogg.Packet op)
Check if the packet contains a keyframeboolean
isType(com.jcraft.jogg.Packet op)
Check if the packet contains the signature of the payload.int
takeHeader(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)
-
-