com.fluendo.plugin
Interface OggPayload
public
interface
OggPayload
Method Summary |
long | getFirstTs(Vector packets)
Get the first timestamp of the list of packets |
String | getMime()
Get mime type |
String | getMime(Packet op)
Get mime type from the given packet |
long | granuleToTime(long gp)
Convert the granule pos to a timestamp |
boolean | isDiscontinuous()
Check if the stream is discontinuous (eg, no need to wait
for data on this stream before playing) |
boolean | isHeader(Packet op)
Check if the packet contains a header packet |
boolean | isKeyFrame(Packet op)
Check if the packet contains a keyframe |
boolean | isType(Packet op)
Check if the packet contains the signature
of the payload. |
int | takeHeader(Packet op)
Initialize the payload with a header packet.
|
public long getFirstTs(Vector packets)
Get the first timestamp of the list of packets
public String getMime()
Get mime type
public String getMime(Packet op)
Get mime type from the given packet
public long granuleToTime(long gp)
Convert the granule pos to a timestamp
public boolean isDiscontinuous()
Check if the stream is discontinuous (eg, no need to wait
for data on this stream before playing)
public boolean isHeader(Packet op)
Check if the packet contains a header packet
public boolean isKeyFrame(Packet op)
Check if the packet contains a keyframe
public boolean isType(Packet op)
Check if the packet contains the signature
of the payload.
public int takeHeader(Packet op)
Initialize the payload with a header packet.
Returns < 0 for error, 0 if OK, 1 if OK and ready for decoding data.