public class OpusPacketFactory extends HighLevelOggStreamPacket
OpusPacket
for a given
incoming OggPacket
, and creates itConstructor and Description |
---|
OpusPacketFactory() |
Modifier and Type | Method and Description |
---|---|
static OpusPacket |
create(OggPacket packet)
Creates the appropriate
OpusPacket
instance based on the type. |
protected static boolean |
isOpusSpecial(OggPacket packet) |
static boolean |
isOpusStream(OggPacket firstPacket)
Does this packet (the first in the stream) contain
the magic string indicating that it's an opus
one?
|
getData, getOggPacket, setData, write
public static boolean isOpusStream(OggPacket firstPacket)
protected static boolean isOpusSpecial(OggPacket packet)
public static OpusPacket create(OggPacket packet)
OpusPacket
instance based on the type.Copyright © 2015. All rights reserved.