public class TheoraPacketFactory extends HighLevelOggStreamPacket
TheoraPacket for a given
incoming OggPacket, and creates it| Constructor and Description |
|---|
TheoraPacketFactory() |
| Modifier and Type | Method and Description |
|---|---|
static TheoraPacket |
create(OggPacket packet)
Creates the appropriate
TheoraPacket
instance based on the type. |
protected static boolean |
isTheoraSpecial(OggPacket packet) |
static boolean |
isTheoraStream(OggPacket firstPacket)
Does this packet (the first in the stream) contain
the magic string indicating that it's an theora
one?
|
protected static void |
populateMetadataHeader(byte[] b,
int type,
int dataLength)
Popupulates the metadata packet header,
which is "#theora" where # is the type.
|
getData, getOggOverheadSize, getOggPacket, setData, writeprotected static void populateMetadataHeader(byte[] b,
int type,
int dataLength)
public static boolean isTheoraStream(OggPacket firstPacket)
protected static boolean isTheoraSpecial(OggPacket packet)
public static TheoraPacket create(OggPacket packet)
TheoraPacket
instance based on the type.Copyright © 2021. All rights reserved.