FMLiveSwitchOggPage Class Reference

An Ogg page. More...

Instance Methods

(int) - absoluteGranulePosition
 Gets the absolute granule position. More...
 
(bool) - beginningOfStream
 Gets whether this page is the first page of the bitstream. More...
 
(bool) - continuedPacket
 Gets whether this page is a continued (not fresh) packet. More...
 
(bool) - endOfStream
 Gets whether this page is the last page of the bitstream. More...
 
(NSMutableData *) - getBytes
 Gets the page as a byte array. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchOggPage class. More...
 
(NSMutableData *) - payload
 Gets the data payload. More...
 
(int) - sequenceNumber
 Gets the page sequence number. More...
 
(void) - setAbsoluteGranulePosition:
 Sets the absolute granule position. More...
 
(void) - setBeginningOfStream:
 Sets whether this page is the first page of the bitstream. More...
 
(void) - setContinuedPacket:
 Sets whether this page is a continued (not fresh) packet. More...
 
(void) - setEndOfStream:
 Sets whether this page is the last page of the bitstream. More...
 
(void) - setPayload:
 Sets the data payload. More...
 
(void) - setSequenceNumber:
 Sets the page sequence number. More...
 
(void) - setStreamSerialNumber:
 Sets the stream serial number. More...
 
(int) - streamSerialNumber
 Gets the stream serial number. More...
 

Class Methods

(FMLiveSwitchOggPage *) + page
 Initializes a new instance of the FMLiveSwitchOggPage class. More...
 

Detailed Description

An Ogg page.

Method Documentation

◆ absoluteGranulePosition

- (int) absoluteGranulePosition

Gets the absolute granule position.

◆ beginningOfStream

- (bool) beginningOfStream

Gets whether this page is the first page of the bitstream.

◆ continuedPacket

- (bool) continuedPacket

Gets whether this page is a continued (not fresh) packet.

◆ endOfStream

- (bool) endOfStream

Gets whether this page is the last page of the bitstream.

◆ getBytes

- (NSMutableData*) getBytes

Gets the page as a byte array.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchOggPage class.

◆ page

Initializes a new instance of the FMLiveSwitchOggPage class.

◆ payload

- (NSMutableData*) payload

Gets the data payload.

◆ sequenceNumber

- (int) sequenceNumber

Gets the page sequence number.

◆ setAbsoluteGranulePosition:

- (void) setAbsoluteGranulePosition: (int)  value

Sets the absolute granule position.

◆ setBeginningOfStream:

- (void) setBeginningOfStream: (bool)  value

Sets whether this page is the first page of the bitstream.

◆ setContinuedPacket:

- (void) setContinuedPacket: (bool)  value

Sets whether this page is a continued (not fresh) packet.

◆ setEndOfStream:

- (void) setEndOfStream: (bool)  value

Sets whether this page is the last page of the bitstream.

◆ setPayload:

- (void) setPayload: (NSMutableData *)  value

Sets the data payload.

◆ setSequenceNumber:

- (void) setSequenceNumber: (int)  value

Sets the page sequence number.

◆ setStreamSerialNumber:

- (void) setStreamSerialNumber: (int)  value

Sets the stream serial number.

◆ streamSerialNumber

- (int) streamSerialNumber

Gets the stream serial number.