A Matroska track entry element. More...
Public Member Functions | |
| long[] | getAttachmentLinks () |
| Gets the attachment links. More... | |
| fm.liveswitch.matroska.Audio | getAudio () |
| Gets the audio element. More... | |
| fm.liveswitch.NullableLong | getCodecDelay () |
| Gets the codec delay. More... | |
| String | getCodecId () |
| Gets the codec identifier. More... | |
| String | getCodecName () |
| Gets the codec name. More... | |
| byte[] | getCodecPrivate () |
| Gets the codec private. More... | |
| fm.liveswitch.matroska.ContentEncodings | getContentEncodings () |
| Gets the content encoding elements. More... | |
| fm.liveswitch.NullableLong | getDefaultDuration () |
| Gets the default duration. More... | |
| boolean | getFlagDefault () |
| Gets the default flag. More... | |
| boolean | getFlagEnabled () |
| Gets the enabled flag. More... | |
| boolean | getFlagForced () |
| Gets the forced flag. More... | |
| boolean | getFlagLacing () |
| Gets the lacing flag. More... | |
| byte[] | getId () |
| Gets the EBML ID. More... | |
| String | getLanguage () |
| Gets the language. More... | |
| fm.liveswitch.NullableLong | getMaxCache () |
| Gets the maximum cache. More... | |
| long | getMinCache () |
| Gets the minimum cache. More... | |
| String | getName () |
| Gets the name. More... | |
| fm.liveswitch.NullableLong | getSeekPreRoll () |
| Gets the seek pre-roll. More... | |
| long | getTrackNumber () |
| Gets the track number. More... | |
| fm.liveswitch.NullableFloat | getTrackTimecodeScale () |
| Gets the track timecode scale. More... | |
| long | getTrackType () |
| Gets the track type. More... | |
| long | getTrackUid () |
| Gets the track UID. More... | |
| fm.liveswitch.matroska.Video | getVideo () |
| Gets the video element. More... | |
| void | setAttachmentLinks (long[] value) |
| Sets the attachment links. More... | |
| void | setAudio (fm.liveswitch.matroska.Audio value) |
| Sets the audio element. More... | |
| void | setCodecDelay (fm.liveswitch.NullableLong value) |
| Sets the codec delay. More... | |
| void | setCodecId (String value) |
| Sets the codec identifier. More... | |
| void | setCodecName (String value) |
| Sets the codec name. More... | |
| void | setCodecPrivate (byte[] value) |
| Sets the codec private. More... | |
| void | setContentEncodings (fm.liveswitch.matroska.ContentEncodings value) |
| Sets the content encoding elements. More... | |
| void | setDefaultDuration (fm.liveswitch.NullableLong value) |
| Sets the default duration. More... | |
| void | setFlagDefault (boolean value) |
| Sets the default flag. More... | |
| void | setFlagEnabled (boolean value) |
| Sets the enabled flag. More... | |
| void | setFlagForced (boolean value) |
| Sets the forced flag. More... | |
| void | setFlagLacing (boolean value) |
| Sets the lacing flag. More... | |
| void | setLanguage (String value) |
| Sets the language. More... | |
| void | setMaxCache (fm.liveswitch.NullableLong value) |
| Sets the maximum cache. More... | |
| void | setMinCache (long value) |
| Sets the minimum cache. More... | |
| void | setName (String value) |
| Sets the name. More... | |
| void | setSeekPreRoll (fm.liveswitch.NullableLong value) |
| Sets the seek pre-roll. More... | |
| void | setTrackNumber (long value) |
| Sets the track number. More... | |
| void | setTrackTimecodeScale (fm.liveswitch.NullableFloat value) |
| Sets the track timecode scale. More... | |
| void | setTrackType (long value) |
| Sets the track type. More... | |
| void | setTrackUid (long value) |
| Sets the track UID. More... | |
| void | setVideo (fm.liveswitch.matroska.Video value) |
| Sets the video element. More... | |
| TrackEntry () | |
| Initializes a new instance of the fm.liveswitch.matroska.TrackEntry class. More... | |
| TrackEntry (byte[] bytes) | |
| Initializes a new instance of the fm.liveswitch.matroska.TrackEntry class. More... | |
Public Member Functions inherited from fm.liveswitch.matroska.Element | |
| byte[] | getBytes () |
| Serializes to a byte array. More... | |
| int | getLength () |
| Gets the total length of the element (including ID/size field), set after calling fm.liveswitch.matroska.Element#getBytes. More... | |
| int | getSize () |
| Gets the size of the element (excluding ID/size field), set after calling fm.liveswitch.matroska.Element#getBytes. More... | |
| int | getSizeLength () |
| Gets the length of the size field, in bytes. More... | |
| boolean | getWriteDefaultValues () |
| Gets whether to include default values when serializing. More... | |
| void | setSizeLength (int value) |
| Sets the length of the size field, in bytes. More... | |
| void | setWriteDefaultValues (boolean value) |
| Sets whether to include default values when serializing. More... | |
Static Public Member Functions | |
| static String | getAacCodecId () |
| Gets the AAC codec ID. More... | |
| static boolean | getDefaultFlagDefault () |
| Gets the default default flag. More... | |
| static boolean | getDefaultFlagEnabled () |
| Gets the default enabled flag. More... | |
| static boolean | getDefaultFlagForced () |
| Gets the default forced flag. More... | |
| static boolean | getDefaultFlagLacing () |
| Gets the default lacing flag. More... | |
| static String | getDefaultLanguage () |
| Gets the default language. More... | |
| static long | getDefaultMinCache () |
| Gets the default minimum cache. More... | |
| static byte[] | getEbmlId () |
| Gets the EBML ID. More... | |
| static int | getG722FormatTag () |
| Gets the G722 format tag. More... | |
| static String | getH264CodecId () |
| Gets the H.264 codec ID. More... | |
| static String | getH265CodecId () |
| Gets the H.265 codec ID. More... | |
| static int | getL16FormatTag () |
| Gets the L16 format tag. More... | |
| static String | getOpusCodecId () |
| Gets the Opus codec ID. More... | |
| static int | getPcmaFormatTag () |
| Gets the PCMA format tag. More... | |
| static String | getPcmCodecId () |
| Gets the PCM codec ID. More... | |
| static int | getPcmuFormatTag () |
| Gets the PCMU format tag. More... | |
| static String | getVp8CodecId () |
| Gets the VP8 codec ID. More... | |
| static String | getVp9CodecId () |
| Gets the VP8 codec ID. More... | |
Static Public Member Functions inherited from fm.liveswitch.matroska.Element | |
| static boolean | compare (byte[] bytes1, byte[] bytes2) |
| Compares two byte arrays for equality. More... | |
| static boolean | readBool (byte[] value) |
| Reads a boolean element from the stream. More... | |
| static java.util.Date | readDate (byte[] value) |
| Reads a date string element from the stream. More... | |
| static double | readDouble (byte[] value) |
| Reads a double element from the stream. More... | |
| static float | readFloat (byte[] value) |
| Reads a float element from the stream. More... | |
| static fm.liveswitch.Guid | readGuid (byte[] value) |
| Reads a GUID element from the stream. More... | |
| static byte[] | readId (byte[] bytes, int offset, fm.liveswitch.IntegerHolder offsetPlus) |
| Reads a binary ID from the stream. More... | |
| static long | readSignedInteger (byte[] value) |
| Reads a signed integer element from the byte array. More... | |
| static String | readString (byte[] value) |
| Reads an ASCII string element from the stream. More... | |
| static long | readUnsignedInteger (byte[] value) |
| Reads an unsigned integer element from the byte array. More... | |
| static String | readUtf8 (byte[] value) |
| Reads a UTF-8 string element from the stream. More... | |
| static byte[] | readValue (byte[] bytes, int offset, fm.liveswitch.IntegerHolder offsetPlus) |
| Reads a binary value from the stream. More... | |
| static long | readVariableInteger (byte[] bytes, int offset, fm.liveswitch.IntegerHolder offsetPlus) |
| Reads a variable integer ("vint") from the byte array. More... | |
| static byte[] | serializeVariableInteger (long value) |
| Serializes a variable integer. More... | |
| static byte[] | serializeVariableInteger (long value, int length) |
| Serializes a variable integer using a fixed length. More... | |
Protected Member Functions | |
| byte[] | getInnerBytes () |
| Gets the inner bytes. More... | |
Protected Member Functions inherited from fm.liveswitch.matroska.Element | |
| Element () | |
| void | write (byte[] value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a binary element to the stream. More... | |
| void | writeBool (boolean value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a boolean element to the stream. More... | |
| void | writeDate (java.util.Date value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a date element to the stream. More... | |
| void | writeDouble (double value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a double element to the stream. More... | |
| void | writeFloat (float value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a float element to the stream. More... | |
| void | writeGuid (fm.liveswitch.Guid value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a GUID element to the stream. More... | |
| void | writeSignedInteger (long value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes an signed integer element to the stream. More... | |
| void | writeString (String value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes an ASCII string element to the stream. More... | |
| void | writeUnsignedInteger (long value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes an unsigned integer element to the stream. More... | |
| void | writeUtf8 (String value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a UTF-8 string element to the stream. More... | |
| void | writeVariableInteger (long value, fm.liveswitch.ByteOutputStream stream) |
| Writes a variable integer ("vint") to the stream. More... | |
| void | writeVariableInteger (long value, fm.liveswitch.ByteOutputStream stream, int length) |
| Writes a variable integer ("vint") to the stream using a fixed length. More... | |
A Matroska track entry element.
| fm.liveswitch.matroska.TrackEntry.TrackEntry | ( | ) |
Initializes a new instance of the fm.liveswitch.matroska.TrackEntry class.
| fm.liveswitch.matroska.TrackEntry.TrackEntry | ( | byte[] | bytes | ) |
Initializes a new instance of the fm.liveswitch.matroska.TrackEntry class.
| bytes | The bytes. |
|
static |
Gets the AAC codec ID.
| long [] fm.liveswitch.matroska.TrackEntry.getAttachmentLinks | ( | ) |
Gets the attachment links.
| fm.liveswitch.matroska.Audio fm.liveswitch.matroska.TrackEntry.getAudio | ( | ) |
Gets the audio element.
| fm.liveswitch.NullableLong fm.liveswitch.matroska.TrackEntry.getCodecDelay | ( | ) |
Gets the codec delay.
| String fm.liveswitch.matroska.TrackEntry.getCodecId | ( | ) |
Gets the codec identifier.
| String fm.liveswitch.matroska.TrackEntry.getCodecName | ( | ) |
Gets the codec name.
| byte [] fm.liveswitch.matroska.TrackEntry.getCodecPrivate | ( | ) |
Gets the codec private.
| fm.liveswitch.matroska.ContentEncodings fm.liveswitch.matroska.TrackEntry.getContentEncodings | ( | ) |
Gets the content encoding elements.
| fm.liveswitch.NullableLong fm.liveswitch.matroska.TrackEntry.getDefaultDuration | ( | ) |
Gets the default duration.
|
static |
Gets the default default flag.
|
static |
Gets the default enabled flag.
|
static |
Gets the default forced flag.
|
static |
Gets the default lacing flag.
|
static |
Gets the default language.
|
static |
Gets the default minimum cache.
|
static |
Gets the EBML ID.
| boolean fm.liveswitch.matroska.TrackEntry.getFlagDefault | ( | ) |
Gets the default flag.
| boolean fm.liveswitch.matroska.TrackEntry.getFlagEnabled | ( | ) |
Gets the enabled flag.
| boolean fm.liveswitch.matroska.TrackEntry.getFlagForced | ( | ) |
Gets the forced flag.
| boolean fm.liveswitch.matroska.TrackEntry.getFlagLacing | ( | ) |
Gets the lacing flag.
|
static |
Gets the G722 format tag.
|
static |
Gets the H.264 codec ID.
|
static |
Gets the H.265 codec ID.
| byte [] fm.liveswitch.matroska.TrackEntry.getId | ( | ) |
Gets the EBML ID.
Reimplemented from fm.liveswitch.matroska.Element.
|
protected |
Gets the inner bytes.
Reimplemented from fm.liveswitch.matroska.Element.
|
static |
Gets the L16 format tag.
| String fm.liveswitch.matroska.TrackEntry.getLanguage | ( | ) |
Gets the language.
| fm.liveswitch.NullableLong fm.liveswitch.matroska.TrackEntry.getMaxCache | ( | ) |
Gets the maximum cache.
| long fm.liveswitch.matroska.TrackEntry.getMinCache | ( | ) |
Gets the minimum cache.
| String fm.liveswitch.matroska.TrackEntry.getName | ( | ) |
Gets the name.
|
static |
Gets the Opus codec ID.
|
static |
Gets the PCMA format tag.
|
static |
Gets the PCM codec ID.
|
static |
Gets the PCMU format tag.
| fm.liveswitch.NullableLong fm.liveswitch.matroska.TrackEntry.getSeekPreRoll | ( | ) |
Gets the seek pre-roll.
| long fm.liveswitch.matroska.TrackEntry.getTrackNumber | ( | ) |
Gets the track number.
| fm.liveswitch.NullableFloat fm.liveswitch.matroska.TrackEntry.getTrackTimecodeScale | ( | ) |
Gets the track timecode scale.
| long fm.liveswitch.matroska.TrackEntry.getTrackType | ( | ) |
Gets the track type.
| long fm.liveswitch.matroska.TrackEntry.getTrackUid | ( | ) |
Gets the track UID.
| fm.liveswitch.matroska.Video fm.liveswitch.matroska.TrackEntry.getVideo | ( | ) |
Gets the video element.
|
static |
Gets the VP8 codec ID.
|
static |
Gets the VP8 codec ID.
| void fm.liveswitch.matroska.TrackEntry.setAttachmentLinks | ( | long[] | value | ) |
Sets the attachment links.
| void fm.liveswitch.matroska.TrackEntry.setAudio | ( | fm.liveswitch.matroska.Audio | value | ) |
Sets the audio element.
| void fm.liveswitch.matroska.TrackEntry.setCodecDelay | ( | fm.liveswitch.NullableLong | value | ) |
Sets the codec delay.
| void fm.liveswitch.matroska.TrackEntry.setCodecId | ( | String | value | ) |
Sets the codec identifier.
| void fm.liveswitch.matroska.TrackEntry.setCodecName | ( | String | value | ) |
Sets the codec name.
| void fm.liveswitch.matroska.TrackEntry.setCodecPrivate | ( | byte[] | value | ) |
Sets the codec private.
| void fm.liveswitch.matroska.TrackEntry.setContentEncodings | ( | fm.liveswitch.matroska.ContentEncodings | value | ) |
Sets the content encoding elements.
| void fm.liveswitch.matroska.TrackEntry.setDefaultDuration | ( | fm.liveswitch.NullableLong | value | ) |
Sets the default duration.
| void fm.liveswitch.matroska.TrackEntry.setFlagDefault | ( | boolean | value | ) |
Sets the default flag.
| void fm.liveswitch.matroska.TrackEntry.setFlagEnabled | ( | boolean | value | ) |
Sets the enabled flag.
| void fm.liveswitch.matroska.TrackEntry.setFlagForced | ( | boolean | value | ) |
Sets the forced flag.
| void fm.liveswitch.matroska.TrackEntry.setFlagLacing | ( | boolean | value | ) |
Sets the lacing flag.
| void fm.liveswitch.matroska.TrackEntry.setLanguage | ( | String | value | ) |
Sets the language.
| void fm.liveswitch.matroska.TrackEntry.setMaxCache | ( | fm.liveswitch.NullableLong | value | ) |
Sets the maximum cache.
| void fm.liveswitch.matroska.TrackEntry.setMinCache | ( | long | value | ) |
Sets the minimum cache.
| void fm.liveswitch.matroska.TrackEntry.setName | ( | String | value | ) |
Sets the name.
| void fm.liveswitch.matroska.TrackEntry.setSeekPreRoll | ( | fm.liveswitch.NullableLong | value | ) |
Sets the seek pre-roll.
| void fm.liveswitch.matroska.TrackEntry.setTrackNumber | ( | long | value | ) |
Sets the track number.
| void fm.liveswitch.matroska.TrackEntry.setTrackTimecodeScale | ( | fm.liveswitch.NullableFloat | value | ) |
Sets the track timecode scale.
| void fm.liveswitch.matroska.TrackEntry.setTrackType | ( | long | value | ) |
Sets the track type.
| void fm.liveswitch.matroska.TrackEntry.setTrackUid | ( | long | value | ) |
Sets the track UID.
| void fm.liveswitch.matroska.TrackEntry.setVideo | ( | fm.liveswitch.matroska.Video | value | ) |
Sets the video element.