public class SkeletonStream extends Object
Constructor and Description |
---|
SkeletonStream(int[] sids)
Creates a new Skeleton stream, with empty fisbones
referencing the specified streams (by their stream ids /
serial numbers)
|
SkeletonStream(OggPacket packet)
Starts tracking a new Skeleton Stream,
from the given packet (which must hold
the fishead)
|
Modifier and Type | Method and Description |
---|---|
SkeletonFisbone |
addBoneForStream(int sid)
Adds a new fisbone for the given stream
|
SkeletonFisbone |
getBoneForStream(int sid)
Get the fisbone for a given stream, or null if
the stream isn't described
|
List<SkeletonFisbone> |
getFisbones()
Get all known fisbones
|
SkeletonFishead |
getFishead() |
List<SkeletonKeyFramePacket> |
getKeyFrames()
Get all known key frames
|
int |
getSid()
Returns the Ogg Stream ID of the Skeleton
|
boolean |
hasWholeStream()
Have all the packets in the Skeleton stream
been received and processed yet?
|
void |
processPacket(OggPacket packet)
Processes and tracks the next packet for
the stream
|
public SkeletonStream(OggPacket packet)
public SkeletonStream(int[] sids)
public void processPacket(OggPacket packet)
public int getSid()
public boolean hasWholeStream()
public SkeletonFishead getFishead()
public List<SkeletonFisbone> getFisbones()
public SkeletonFisbone getBoneForStream(int sid)
public SkeletonFisbone addBoneForStream(int sid)
public List<SkeletonKeyFramePacket> getKeyFrames()
Copyright © 2015. All rights reserved.