FMLiveSwitchMatroskaSegmentInfo Class Reference

A Matroska segment info element. More...

Instance Methods

(FMLiveSwitchNullableDate *) - dateUtc
 Gets the date in UTC time. More...
 
(FMLiveSwitchNullableFloat *) - duration
 Gets the duration. More...
 
(NSMutableData *) - getInnerBytes
 Gets the inner bytes. More...
 
(NSMutableData *) - id
 Gets the EBML ID. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMatroskaSegmentInfo class. More...
 
(instancetype) - initWithBytes:
 Initializes a new instance of the FMLiveSwitchMatroskaSegmentInfo class. More...
 
(void) - mergeWithSegmentInfo:
 Merges another FMLiveSwitchMatroskaSegmentInfo into this one. More...
 
(NSString *) - muxingApp
 Gets the muxing application. More...
 
(NSString *) - nextFilename
 Gets the next filename. More...
 
(FMLiveSwitchNullableGuid *) - nextUid
 Gets the next UID. More...
 
(NSString *) - prevFilename
 Gets the previous filename. More...
 
(FMLiveSwitchNullableGuid *) - prevUid
 Gets the previous UID. More...
 
(NSString *) - segmentFilename
 Gets the segment filename. More...
 
(FMLiveSwitchNullableGuid *) - segmentUid
 Gets the segment UID. More...
 
(void) - setDateUtc:
 Sets the date in UTC time. More...
 
(void) - setDuration:
 Sets the duration. More...
 
(void) - setMuxingApp:
 Sets the muxing application. More...
 
(void) - setNextFilename:
 Sets the next filename. More...
 
(void) - setNextUid:
 Sets the next UID. More...
 
(void) - setPrevFilename:
 Sets the previous filename. More...
 
(void) - setPrevUid:
 Sets the previous UID. More...
 
(void) - setSegmentFilename:
 Sets the segment filename. More...
 
(void) - setSegmentUid:
 Sets the segment UID. More...
 
(void) - setTimecodeScale:
 Sets the timecode scale. More...
 
(void) - setTitle:
 Sets the title. More...
 
(void) - setWritingApp:
 Sets the writing application. More...
 
(long long) - timecodeScale
 Gets the timecode scale. More...
 
(NSString *) - title
 Gets the title. More...
 
(NSString *) - writingApp
 Gets the writing application. 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

(long long) + defaultTimecodeScale
 Gets the default timecode scale. More...
 
(NSMutableData *) + ebmlId
 Gets the EBML ID. More...
 
(FMLiveSwitchMatroskaSegmentInfo *) + segmentInfo
 Initializes a new instance of the FMLiveSwitchMatroskaSegmentInfo class. More...
 
(FMLiveSwitchMatroskaSegmentInfo *) + segmentInfoWithBytes:
 Initializes a new instance of the FMLiveSwitchMatroskaSegmentInfo class. 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 segment info element.

Method Documentation

◆ dateUtc

- (FMLiveSwitchNullableDate*) dateUtc

Gets the date in UTC time.

◆ defaultTimecodeScale

+ (long long) defaultTimecodeScale

Gets the default timecode scale.

◆ duration

- (FMLiveSwitchNullableFloat*) duration

Gets the duration.

◆ ebmlId

+ (NSMutableData*) ebmlId

Gets the EBML ID.

◆ getInnerBytes

- (NSMutableData*) getInnerBytes

Gets the inner bytes.

Implements FMLiveSwitchMatroskaElement.

◆ id

- (NSMutableData*) id

Gets the EBML ID.

Implements FMLiveSwitchMatroskaElement.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMatroskaSegmentInfo class.

Implements FMLiveSwitchMatroskaElement.

◆ initWithBytes:

- (instancetype) initWithBytes: (NSMutableData *)  bytes

Initializes a new instance of the FMLiveSwitchMatroskaSegmentInfo class.

Parameters
bytesThe bytes.

◆ mergeWithSegmentInfo:

- (void) mergeWithSegmentInfo: (FMLiveSwitchMatroskaSegmentInfo *)  segmentInfo

Merges another FMLiveSwitchMatroskaSegmentInfo into this one.

Parameters
segmentInfoThe FMLiveSwitchMatroskaSegmentInfo.

◆ muxingApp

- (NSString*) muxingApp

Gets the muxing application.

◆ nextFilename

- (NSString*) nextFilename

Gets the next filename.

◆ nextUid

- (FMLiveSwitchNullableGuid*) nextUid

Gets the next UID.

◆ prevFilename

- (NSString*) prevFilename

Gets the previous filename.

◆ prevUid

- (FMLiveSwitchNullableGuid*) prevUid

Gets the previous UID.

◆ segmentFilename

- (NSString*) segmentFilename

Gets the segment filename.

◆ segmentInfo

Initializes a new instance of the FMLiveSwitchMatroskaSegmentInfo class.

◆ segmentInfoWithBytes:

+ (FMLiveSwitchMatroskaSegmentInfo*) segmentInfoWithBytes: (NSMutableData *)  bytes

Initializes a new instance of the FMLiveSwitchMatroskaSegmentInfo class.

Parameters
bytesThe bytes.

◆ segmentUid

- (FMLiveSwitchNullableGuid*) segmentUid

Gets the segment UID.

◆ setDateUtc:

- (void) setDateUtc: (FMLiveSwitchNullableDate *)  value

Sets the date in UTC time.

◆ setDuration:

- (void) setDuration: (FMLiveSwitchNullableFloat *)  value

Sets the duration.

◆ setMuxingApp:

- (void) setMuxingApp: (NSString *)  value

Sets the muxing application.

◆ setNextFilename:

- (void) setNextFilename: (NSString *)  value

Sets the next filename.

◆ setNextUid:

- (void) setNextUid: (FMLiveSwitchNullableGuid *)  value

Sets the next UID.

◆ setPrevFilename:

- (void) setPrevFilename: (NSString *)  value

Sets the previous filename.

◆ setPrevUid:

- (void) setPrevUid: (FMLiveSwitchNullableGuid *)  value

Sets the previous UID.

◆ setSegmentFilename:

- (void) setSegmentFilename: (NSString *)  value

Sets the segment filename.

◆ setSegmentUid:

- (void) setSegmentUid: (FMLiveSwitchNullableGuid *)  value

Sets the segment UID.

◆ setTimecodeScale:

- (void) setTimecodeScale: (long long)  value

Sets the timecode scale.

◆ setTitle:

- (void) setTitle: (NSString *)  value

Sets the title.

◆ setWritingApp:

- (void) setWritingApp: (NSString *)  value

Sets the writing application.

◆ timecodeScale

- (long long) timecodeScale

Gets the timecode scale.

◆ title

- (NSString*) title

Gets the title.

◆ writingApp

- (NSString*) writingApp

Gets the writing application.