|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OggPayload
Method Summary | |
---|---|
long |
getFirstTs(java.util.Vector packets)
Get the first timestamp of the list of packets |
java.lang.String |
getMime()
Get mime type |
java.lang.String |
getMime(com.jcraft.jogg.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(com.jcraft.jogg.Packet op)
Check if the packet contains a header packet |
boolean |
isKeyFrame(com.jcraft.jogg.Packet op)
Check if the packet contains a keyframe |
boolean |
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 |
---|
boolean isType(com.jcraft.jogg.Packet op)
int takeHeader(com.jcraft.jogg.Packet op)
boolean isHeader(com.jcraft.jogg.Packet op)
boolean isKeyFrame(com.jcraft.jogg.Packet op)
long getFirstTs(java.util.Vector packets)
long granuleToTime(long gp)
java.lang.String getMime()
java.lang.String getMime(com.jcraft.jogg.Packet op)
boolean isDiscontinuous()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |