FMLiveSwitchMatroskaTrackEntry Class Reference

A Matroska track entry element. More...

Instance Methods

(NSMutableArray *) - attachmentLinks
 Gets the attachment links. More...
 
(FMLiveSwitchMatroskaAudio *) - audio
 Gets the audio element. More...
 
(FMLiveSwitchNullableLong *) - codecDelay
 Gets the codec delay. More...
 
(NSString *) - codecId
 Gets the codec identifier. More...
 
(NSString *) - codecName
 Gets the codec name. More...
 
(NSMutableData *) - codecPrivate
 Gets the codec private. More...
 
(FMLiveSwitchMatroskaContentEncodings *) - contentEncodings
 Gets the content encoding elements. More...
 
(FMLiveSwitchNullableLong *) - defaultDuration
 Gets the default duration. More...
 
(bool) - flagDefault
 Gets the default flag. More...
 
(bool) - flagEnabled
 Gets the enabled flag. More...
 
(bool) - flagForced
 Gets the forced flag. More...
 
(bool) - flagLacing
 Gets the lacing flag. More...
 
(NSMutableData *) - getInnerBytes
 Gets the inner bytes. More...
 
(NSMutableData *) - id
 Gets the EBML ID. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMatroskaTrackEntry class. More...
 
(instancetype) - initWithBytes:
 Initializes a new instance of the FMLiveSwitchMatroskaTrackEntry class. More...
 
(NSString *) - language
 Gets the language. More...
 
(FMLiveSwitchNullableLong *) - maxCache
 Gets the maximum cache. More...
 
(long long) - minCache
 Gets the minimum cache. More...
 
(NSString *) - name
 Gets the name. More...
 
(FMLiveSwitchNullableLong *) - seekPreRoll
 Gets the seek pre-roll. More...
 
(void) - setAttachmentLinks:
 Sets the attachment links. More...
 
(void) - setAudio:
 Sets the audio element. More...
 
(void) - setCodecDelay:
 Sets the codec delay. More...
 
(void) - setCodecId:
 Sets the codec identifier. More...
 
(void) - setCodecName:
 Sets the codec name. More...
 
(void) - setCodecPrivate:
 Sets the codec private. More...
 
(void) - setContentEncodings:
 Sets the content encoding elements. More...
 
(void) - setDefaultDuration:
 Sets the default duration. More...
 
(void) - setFlagDefault:
 Sets the default flag. More...
 
(void) - setFlagEnabled:
 Sets the enabled flag. More...
 
(void) - setFlagForced:
 Sets the forced flag. More...
 
(void) - setFlagLacing:
 Sets the lacing flag. More...
 
(void) - setLanguage:
 Sets the language. More...
 
(void) - setMaxCache:
 Sets the maximum cache. More...
 
(void) - setMinCache:
 Sets the minimum cache. More...
 
(void) - setName:
 Sets the name. More...
 
(void) - setSeekPreRoll:
 Sets the seek pre-roll. More...
 
(void) - setTrackNumber:
 Sets the track number. More...
 
(void) - setTrackTimecodeScale:
 Sets the track timecode scale. More...
 
(void) - setTrackType:
 Sets the track type. More...
 
(void) - setTrackUid:
 Sets the track UID. More...
 
(void) - setVideo:
 Sets the video element. More...
 
(long long) - trackNumber
 Gets the track number. More...
 
(FMLiveSwitchNullableFloat *) - trackTimecodeScale
 Gets the track timecode scale. More...
 
(long long) - trackType
 Gets the track type. More...
 
(long long) - trackUid
 Gets the track UID. More...
 
(FMLiveSwitchMatroskaVideo *) - video
 Gets the video element. More...
 
- Instance Methods inherited from FMLiveSwitchMatroskaElement
(NSMutableData *) - getBytes
 Serializes to a byte array. More...
 
(int) - length
 Gets the total length of the element (including ID/size field), set after calling getBytes. More...
 
(void) - setSizeLength:
 Sets the length of the size field, in bytes. More...
 
(void) - setWriteDefaultValues:
 Sets whether to include default values when serializing. More...
 
(int) - size
 Gets the size of the element (excluding ID/size field), set after calling getBytes. More...
 
(int) - sizeLength
 Gets the length of the size field, in bytes. More...
 
(void) - write:id:stream:
 Writes a binary element to the stream. More...
 
(void) - writeBool:id:stream:
 Writes a boolean element to the stream. More...
 
(void) - writeDate:id:stream:
 Writes a date element to the stream. More...
 
(bool) - writeDefaultValues
 Gets whether to include default values when serializing. More...
 
(void) - writeDouble:id:stream:
 Writes a double element to the stream. More...
 
(void) - writeFloat:id:stream:
 Writes a float element to the stream. More...
 
(void) - writeGuid:id:stream:
 Writes a GUID element to the stream. More...
 
(void) - writeSignedInteger:id:stream:
 Writes an signed integer element to the stream. More...
 
(void) - writeString:id:stream:
 Writes an ASCII string element to the stream. More...
 
(void) - writeUnsignedInteger:id:stream:
 Writes an unsigned integer element to the stream. More...
 
(void) - writeUtf8:id:stream:
 Writes a UTF-8 string element to the stream. More...
 
(void) - writeVariableInteger:stream:
 Writes a variable integer ("vint") to the stream. More...
 
(void) - writeVariableInteger:stream:length:
 Writes a variable integer ("vint") to the stream using a fixed length. More...
 

Class Methods

(NSString *) + aacCodecId
 Gets the AAC codec ID. More...
 
(bool) + defaultFlagDefault
 Gets the default default flag. More...
 
(bool) + defaultFlagEnabled
 Gets the default enabled flag. More...
 
(bool) + defaultFlagForced
 Gets the default forced flag. More...
 
(bool) + defaultFlagLacing
 Gets the default lacing flag. More...
 
(NSString *) + defaultLanguage
 Gets the default language. More...
 
(long long) + defaultMinCache
 Gets the default minimum cache. More...
 
(NSMutableData *) + ebmlId
 Gets the EBML ID. More...
 
(int) + g722FormatTag
 Gets the G722 format tag. More...
 
(NSString *) + h264CodecId
 Gets the H.264 codec ID. More...
 
(NSString *) + h265CodecId
 Gets the H.265 codec ID. More...
 
(int) + l16FormatTag
 Gets the L16 format tag. More...
 
(NSString *) + opusCodecId
 Gets the Opus codec ID. More...
 
(int) + pcmaFormatTag
 Gets the PCMA format tag. More...
 
(NSString *) + pcmCodecId
 Gets the PCM codec ID. More...
 
(int) + pcmuFormatTag
 Gets the PCMU format tag. More...
 
(FMLiveSwitchMatroskaTrackEntry *) + trackEntry
 Initializes a new instance of the FMLiveSwitchMatroskaTrackEntry class. More...
 
(FMLiveSwitchMatroskaTrackEntry *) + trackEntryWithBytes:
 Initializes a new instance of the FMLiveSwitchMatroskaTrackEntry class. More...
 
(NSString *) + vp8CodecId
 Gets the VP8 codec ID. More...
 
(NSString *) + vp9CodecId
 Gets the VP8 codec ID. More...
 
- Class Methods inherited from FMLiveSwitchMatroskaElement
(bool) + compareWithBytes1:bytes2:
 Compares two byte arrays for equality. More...
 
(FMLiveSwitchMatroskaElement *) + element
 
(bool) + readBool:
 Reads a boolean element from the stream. More...
 
(NSDate *) + readDate:
 Reads a date string element from the stream. More...
 
(double) + readDouble:
 Reads a double element from the stream. More...
 
(float) + readFloat:
 Reads a float element from the stream. More...
 
(FMLiveSwitchGuid *) + readGuid:
 Reads a GUID element from the stream. More...
 
(NSMutableData *) + readIdWithBytes:offset:offsetPlus:
 Reads a binary ID from the stream. More...
 
(long long) + readSignedInteger:
 Reads a signed integer element from the byte array. More...
 
(NSString *) + readString:
 Reads an ASCII string element from the stream. More...
 
(long long) + readUnsignedInteger:
 Reads an unsigned integer element from the byte array. More...
 
(NSString *) + readUtf8:
 Reads a UTF-8 string element from the stream. More...
 
(NSMutableData *) + readValueWithBytes:offset:offsetPlus:
 Reads a binary value from the stream. More...
 
(long long) + readVariableIntegerWithBytes:offset:offsetPlus:
 Reads a variable integer ("vint") from the byte array. More...
 
(NSMutableData *) + serializeVariableInteger:
 Serializes a variable integer. More...
 
(NSMutableData *) + serializeVariableInteger:length:
 Serializes a variable integer using a fixed length. More...
 

Detailed Description

A Matroska track entry element.

Method Documentation

◆ aacCodecId

+ (NSString*) aacCodecId

Gets the AAC codec ID.

◆ attachmentLinks

- (NSMutableArray*) attachmentLinks

Gets the attachment links.

◆ audio

Gets the audio element.

◆ codecDelay

- (FMLiveSwitchNullableLong*) codecDelay

Gets the codec delay.

◆ codecId

- (NSString*) codecId

Gets the codec identifier.

◆ codecName

- (NSString*) codecName

Gets the codec name.

◆ codecPrivate

- (NSMutableData*) codecPrivate

Gets the codec private.

◆ contentEncodings

- (FMLiveSwitchMatroskaContentEncodings*) contentEncodings

Gets the content encoding elements.

◆ defaultDuration

- (FMLiveSwitchNullableLong*) defaultDuration

Gets the default duration.

◆ defaultFlagDefault

+ (bool) defaultFlagDefault

Gets the default default flag.

◆ defaultFlagEnabled

+ (bool) defaultFlagEnabled

Gets the default enabled flag.

◆ defaultFlagForced

+ (bool) defaultFlagForced

Gets the default forced flag.

◆ defaultFlagLacing

+ (bool) defaultFlagLacing

Gets the default lacing flag.

◆ defaultLanguage

+ (NSString*) defaultLanguage

Gets the default language.

◆ defaultMinCache

+ (long long) defaultMinCache

Gets the default minimum cache.

◆ ebmlId

+ (NSMutableData*) ebmlId

Gets the EBML ID.

◆ flagDefault

- (bool) flagDefault

Gets the default flag.

◆ flagEnabled

- (bool) flagEnabled

Gets the enabled flag.

◆ flagForced

- (bool) flagForced

Gets the forced flag.

◆ flagLacing

- (bool) flagLacing

Gets the lacing flag.

◆ g722FormatTag

+ (int) g722FormatTag

Gets the G722 format tag.

◆ getInnerBytes

- (NSMutableData*) getInnerBytes

Gets the inner bytes.

Implements FMLiveSwitchMatroskaElement.

◆ h264CodecId

+ (NSString*) h264CodecId

Gets the H.264 codec ID.

◆ h265CodecId

+ (NSString*) h265CodecId

Gets the H.265 codec ID.

◆ id

- (NSMutableData*) id

Gets the EBML ID.

Implements FMLiveSwitchMatroskaElement.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMatroskaTrackEntry class.

Implements FMLiveSwitchMatroskaElement.

◆ initWithBytes:

- (instancetype) initWithBytes: (NSMutableData *)  bytes

Initializes a new instance of the FMLiveSwitchMatroskaTrackEntry class.

Parameters
bytesThe bytes.

◆ l16FormatTag

+ (int) l16FormatTag

Gets the L16 format tag.

◆ language

- (NSString*) language

Gets the language.

◆ maxCache

- (FMLiveSwitchNullableLong*) maxCache

Gets the maximum cache.

◆ minCache

- (long long) minCache

Gets the minimum cache.

◆ name

- (NSString*) name

Gets the name.

◆ opusCodecId

+ (NSString*) opusCodecId

Gets the Opus codec ID.

◆ pcmaFormatTag

+ (int) pcmaFormatTag

Gets the PCMA format tag.

◆ pcmCodecId

+ (NSString*) pcmCodecId

Gets the PCM codec ID.

◆ pcmuFormatTag

+ (int) pcmuFormatTag

Gets the PCMU format tag.

◆ seekPreRoll

- (FMLiveSwitchNullableLong*) seekPreRoll

Gets the seek pre-roll.

◆ setAttachmentLinks:

- (void) setAttachmentLinks: (NSMutableArray *)  value

Sets the attachment links.

◆ setAudio:

- (void) setAudio: (FMLiveSwitchMatroskaAudio *)  value

Sets the audio element.

◆ setCodecDelay:

- (void) setCodecDelay: (FMLiveSwitchNullableLong *)  value

Sets the codec delay.

◆ setCodecId:

- (void) setCodecId: (NSString *)  value

Sets the codec identifier.

◆ setCodecName:

- (void) setCodecName: (NSString *)  value

Sets the codec name.

◆ setCodecPrivate:

- (void) setCodecPrivate: (NSMutableData *)  value

Sets the codec private.

◆ setContentEncodings:

- (void) setContentEncodings: (FMLiveSwitchMatroskaContentEncodings *)  value

Sets the content encoding elements.

◆ setDefaultDuration:

- (void) setDefaultDuration: (FMLiveSwitchNullableLong *)  value

Sets the default duration.

◆ setFlagDefault:

- (void) setFlagDefault: (bool)  value

Sets the default flag.

◆ setFlagEnabled:

- (void) setFlagEnabled: (bool)  value

Sets the enabled flag.

◆ setFlagForced:

- (void) setFlagForced: (bool)  value

Sets the forced flag.

◆ setFlagLacing:

- (void) setFlagLacing: (bool)  value

Sets the lacing flag.

◆ setLanguage:

- (void) setLanguage: (NSString *)  value

Sets the language.

◆ setMaxCache:

- (void) setMaxCache: (FMLiveSwitchNullableLong *)  value

Sets the maximum cache.

◆ setMinCache:

- (void) setMinCache: (long long)  value

Sets the minimum cache.

◆ setName:

- (void) setName: (NSString *)  value

Sets the name.

◆ setSeekPreRoll:

- (void) setSeekPreRoll: (FMLiveSwitchNullableLong *)  value

Sets the seek pre-roll.

◆ setTrackNumber:

- (void) setTrackNumber: (long long)  value

Sets the track number.

◆ setTrackTimecodeScale:

- (void) setTrackTimecodeScale: (FMLiveSwitchNullableFloat *)  value

Sets the track timecode scale.

◆ setTrackType:

- (void) setTrackType: (long long)  value

Sets the track type.

◆ setTrackUid:

- (void) setTrackUid: (long long)  value

Sets the track UID.

◆ setVideo:

- (void) setVideo: (FMLiveSwitchMatroskaVideo *)  value

Sets the video element.

◆ trackEntry

Initializes a new instance of the FMLiveSwitchMatroskaTrackEntry class.

◆ trackEntryWithBytes:

+ (FMLiveSwitchMatroskaTrackEntry*) trackEntryWithBytes: (NSMutableData *)  bytes

Initializes a new instance of the FMLiveSwitchMatroskaTrackEntry class.

Parameters
bytesThe bytes.

◆ trackNumber

- (long long) trackNumber

Gets the track number.

◆ trackTimecodeScale

- (FMLiveSwitchNullableFloat*) trackTimecodeScale

Gets the track timecode scale.

◆ trackType

- (long long) trackType

Gets the track type.

◆ trackUid

- (long long) trackUid

Gets the track UID.

◆ video

Gets the video element.

◆ vp8CodecId

+ (NSString*) vp8CodecId

Gets the VP8 codec ID.

◆ vp9CodecId

+ (NSString*) vp9CodecId

Gets the VP8 codec ID.