com.smaxe.uv.fformat
Class Flv.Tag

java.lang.Object
  extended by com.smaxe.uv.fformat.Flv.Tag
Enclosing class:
Flv

public static final class Flv.Tag
extends java.lang.Object

Tag - FLV file tag.


Field Summary
 int dataSize
          Length of the data in the Data field.
 long timestamp
          Time in milliseconds at which the data in this tag applies.
 byte type
          Type (one of TYPE_* constants).
static byte TYPE_AUDIO
          TYPE_AUDIO - 0x08 : Audio tag.
static byte TYPE_DATA
          TYPE_DATA - 0x12 : Data tag.
static byte TYPE_VIDEO
          TYPE_VIDEO - 0x09 : Video tag.
 
Constructor Summary
Flv.Tag(byte type, int dataSize, long timestamp)
          Constructor.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_AUDIO

public static final byte TYPE_AUDIO
TYPE_AUDIO - 0x08 : Audio tag.

See Also:
Constant Field Values

TYPE_VIDEO

public static final byte TYPE_VIDEO
TYPE_VIDEO - 0x09 : Video tag.

See Also:
Constant Field Values

TYPE_DATA

public static final byte TYPE_DATA
TYPE_DATA - 0x12 : Data tag.

See Also:
Constant Field Values

type

public final byte type
Type (one of TYPE_* constants).


dataSize

public final int dataSize
Length of the data in the Data field.


timestamp

public final long timestamp
Time in milliseconds at which the data in this tag applies. This value is relative to the first tag in the FLV file, which always has a timestamp of 0.

Constructor Detail

Flv.Tag

public Flv.Tag(byte type,
               int dataSize,
               long timestamp)
Constructor.

Parameters:
type -
dataSize -
timestamp -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object