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