FMLiveSwitchRRControlFrame Class Reference

A receiver report control frame. More...

Instance Methods

(instancetype) - init
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(instancetype) - initWithBuffer:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(instancetype) - initWithReportBlock:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(instancetype) - initWithReportBlocks:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(instancetype) - initWithSynchronizationSource:reportBlock:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(instancetype) - initWithSynchronizationSource:reportBlocks:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
- Instance Methods inherited from FMLiveSwitchReportControlFrame
(FMLiveSwitchReportBlock *) - getReportBlockWithSynchronizationSource:
 Gets the report block. More...
 
(instancetype) - initWithPayloadType:reportBlock:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(instancetype) - initWithPayloadType:reportBlock:reportBlockOffset:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(instancetype) - initWithPayloadType:reportBlockOffset:buffer:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(instancetype) - initWithPayloadType:reportBlocks:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(instancetype) - initWithPayloadType:reportBlocks:reportBlockOffset:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(instancetype) - initWithPayloadType:synchronizationSource:reportBlock:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(instancetype) - initWithPayloadType:synchronizationSource:reportBlock:reportBlockOffset:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(instancetype) - initWithPayloadType:synchronizationSource:reportBlocks:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(instancetype) - initWithPayloadType:synchronizationSource:reportBlocks:reportBlockOffset:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(int) - receptionReportCount
 Gets the feedback message type. More...
 
(FMLiveSwitchReportBlock *) - reportBlock
 Gets the report block. More...
 
(NSMutableArray *) - reportBlocks
 Gets the report blocks. More...
 
(void) - setReportBlock:
 Sets the report block. More...
 
(void) - setReportBlocks:
 Sets the report blocks. More...
 
(void) - setSynchronizationSource:
 Sets the synchronization source. More...
 
(long long) - synchronizationSource
 Gets the synchronization source. More...
 
- Instance Methods inherited from FMLiveSwitchMediaControlFrame
(int) - byte1Last5Bits
 Gets the last 5 bits of the first byte. More...
 
(FMLiveSwitchDataBuffer *) - dataBuffer
 Gets the buffer. More...
 
(FMLiveSwitchDataBuffer *) - payload
 Gets the payload. More...
 
(int) - payloadLengthWithPadding
 Gets the length of the payload, in bytes, with padding. More...
 
(int) - payloadType
 Gets the payload type. More...
 
(void) - setByte1Last5Bits:
 Sets the last 5 bits of the first byte. More...
 
(void) - setDataBuffer:
 Sets the buffer. More...
 
(void) - setPayloadLengthWithPadding:
 Sets the length of the payload, in bytes, with padding. More...
 
(void) - setPayloadType:
 Sets the payload type. More...
 
(void) - setVersion:
 Sets the version. More...
 
(NSString *) - streamId
 Gets the stream ID. More...
 
(int) - version
 Gets the version. More...
 
- Instance Methods inherited from FMLiveSwitchDynamic
(NSMutableDictionary< NSString *, id > *) - dynamicProperties
 Gets all dynamic properties on this instance. More...
 
(id- getDynamicValueWithKey:
 Gets a property value from the local cache. More...
 
(void) - setDynamicValueWithKey:value:
 Sets a property value in the local cache. More...
 
(bool) - unsetDynamicValueWithKey:
 Removes a property value from the local cache. More...
 

Class Methods

(int) + registeredPayloadType
 Gets the receiver report payload type. More...
 
(FMLiveSwitchRRControlFrame *) + rrControlFrame
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(FMLiveSwitchRRControlFrame *) + rrControlFrameWithBuffer:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(FMLiveSwitchRRControlFrame *) + rrControlFrameWithReportBlock:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(FMLiveSwitchRRControlFrame *) + rrControlFrameWithReportBlocks:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(FMLiveSwitchRRControlFrame *) + rrControlFrameWithSynchronizationSource:reportBlock:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
(FMLiveSwitchRRControlFrame *) + rrControlFrameWithSynchronizationSource:reportBlocks:
 Initializes a new instance of the FMLiveSwitchRRControlFrame class. More...
 
- Class Methods inherited from FMLiveSwitchReportControlFrame
(int) + fixedPayloadHeaderLength
 Gets the report control frame fixed payload header length. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:reportBlock:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:reportBlock:reportBlockOffset:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:reportBlockOffset:buffer:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:reportBlocks:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:reportBlocks:reportBlockOffset:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:synchronizationSource:reportBlock:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:synchronizationSource:reportBlock:reportBlockOffset:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:synchronizationSource:reportBlocks:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
(FMLiveSwitchReportControlFrame *) + reportControlFrameWithPayloadType:synchronizationSource:reportBlocks:reportBlockOffset:
 Initializes a new instance of the FMLiveSwitchReportControlFrame class. More...
 
- Class Methods inherited from FMLiveSwitchMediaControlFrame
(NSMutableArray *) + addControlFrames:addControlFrames:index:
 Adds control frames to an array. More...
 
(NSMutableArray *) + addControlFrameWithControlFrames:addControlFrame:index:
 Adds a control frame to an array. More...
 
(int) + fixedHeaderLength
 Gets the length of the fixed header. More...
 
(FMLiveSwitchMediaControlFrame *) + mediaControlFrame
 Initializes a new instance of the FMLiveSwitchMediaControlFrame class. More...
 
(FMLiveSwitchMediaControlFrame *) + mediaControlFrameWithBuffer:
 Initializes a new instance of the FMLiveSwitchMediaControlFrame class. More...
 
(NSMutableArray *) + parseWithDataBuffer:
 Parses a data buffer into an array of control frames. More...
 
(NSMutableArray *) + removeControlFrameWithControlFrames:index:
 Removes a control frame from an array. More...
 
- Class Methods inherited from FMLiveSwitchDynamic
(FMLiveSwitchDynamic *) + dynamic
 
- Class Methods inherited from FMLiveSwitchSerializable
(FMLiveSwitchSerializable *) + serializable
 Initializes a new instance of the FMLiveSwitchSerializable class. More...
 

Detailed Description

A receiver report control frame.

Method Documentation

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Implements FMLiveSwitchMediaControlFrame.

◆ initWithBuffer:

- (instancetype) initWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
bufferAn data buffer.

Implements FMLiveSwitchMediaControlFrame.

◆ initWithReportBlock:

- (instancetype) initWithReportBlock: (FMLiveSwitchReportBlock *)  reportBlock

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
reportBlockThe report block.

◆ initWithReportBlocks:

- (instancetype) initWithReportBlocks: (NSMutableArray *)  reportBlocks

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
reportBlocksThe report blocks.

◆ initWithSynchronizationSource:reportBlock:

- (instancetype) initWithSynchronizationSource: (long long)  synchronizationSource
reportBlock: (FMLiveSwitchReportBlock *)  reportBlock 

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
synchronizationSourceThe synchronization source.
reportBlockThe report block.

◆ initWithSynchronizationSource:reportBlocks:

- (instancetype) initWithSynchronizationSource: (long long)  synchronizationSource
reportBlocks: (NSMutableArray *)  reportBlocks 

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
synchronizationSourceThe synchronization source.
reportBlocksThe report blocks.

◆ registeredPayloadType

+ (int) registeredPayloadType

Gets the receiver report payload type.

◆ rrControlFrame

+ (FMLiveSwitchRRControlFrame*) rrControlFrame

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

◆ rrControlFrameWithBuffer:

+ (FMLiveSwitchRRControlFrame*) rrControlFrameWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
bufferAn data buffer.

◆ rrControlFrameWithReportBlock:

+ (FMLiveSwitchRRControlFrame*) rrControlFrameWithReportBlock: (FMLiveSwitchReportBlock *)  reportBlock

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
reportBlockThe report block.

◆ rrControlFrameWithReportBlocks:

+ (FMLiveSwitchRRControlFrame*) rrControlFrameWithReportBlocks: (NSMutableArray *)  reportBlocks

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
reportBlocksThe report blocks.

◆ rrControlFrameWithSynchronizationSource:reportBlock:

+ (FMLiveSwitchRRControlFrame*) rrControlFrameWithSynchronizationSource: (long long)  synchronizationSource
reportBlock: (FMLiveSwitchReportBlock *)  reportBlock 

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
synchronizationSourceThe synchronization source.
reportBlockThe report block.

◆ rrControlFrameWithSynchronizationSource:reportBlocks:

+ (FMLiveSwitchRRControlFrame*) rrControlFrameWithSynchronizationSource: (long long)  synchronizationSource
reportBlocks: (NSMutableArray *)  reportBlocks 

Initializes a new instance of the FMLiveSwitchRRControlFrame class.

Parameters
synchronizationSourceThe synchronization source.
reportBlocksThe report blocks.