public class SpeexPacketFactory extends HighLevelOggStreamPacket
SpeexPacket for a given
incoming OggPacket, and creates it| Constructor 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, getOggOverheadSize, getOggPacket, setData, writepublic static boolean isSpeexStream(OggPacket firstPacket)
protected static boolean isSpeexSpecial(OggPacket packet)
public static SpeexPacket create(OggPacket packet)
SpeexPacket
instance based on the type.Copyright © 2021. All rights reserved.