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