A Generic NACK feedback message. More...
Instance Methods | |
(int) | - bitmaskOfLostPackets |
Gets the bitmask of lost packets. More... | |
(FMLiveSwitchDataBuffer *) | - dataBuffer |
Gets the data buffer. More... | |
(void) | - flush |
Updates this instance to reflect only the lost packets that were not retransmitted. More... | |
(bool) | - getLostPacketIdPlus: |
Gets whether the packet with ID packetId + value was lost. More... | |
(bool) | - getLostPacketIdPlusHandled: |
Gets whether the packet with ID packetId + value was retransmitted. More... | |
(bool) | - handled |
Gets a value indicating whether all lost packets were retransmitted. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchGenericNack class. More... | |
(instancetype) | - initWithBuffer: |
Initializes a new instance of the FMLiveSwitchGenericNack class. More... | |
(bool) | - lostPacketIdPlus10Handled |
Gets whether the packet with ID packetId + 10 was retransmitted. More... | |
(bool) | - lostPacketIdPlus11Handled |
Gets whether the packet with ID packetId + 11 was retransmitted. More... | |
(bool) | - lostPacketIdPlus12Handled |
Gets whether the packet with ID packetId + 12 was retransmitted. More... | |
(bool) | - lostPacketIdPlus13Handled |
Gets whether the packet with ID packetId + 13 was retransmitted. More... | |
(bool) | - lostPacketIdPlus14Handled |
Gets whether the packet with ID packetId + 14 was retransmitted. More... | |
(bool) | - lostPacketIdPlus15Handled |
Gets whether the packet with ID packetId + 15 was retransmitted. More... | |
(bool) | - lostPacketIdPlus16Handled |
Gets whether the packet with ID packetId + 16 was retransmitted. More... | |
(bool) | - lostPacketIdPlus1Handled |
Gets whether the packet with ID packetId + 1 was retransmitted. More... | |
(bool) | - lostPacketIdPlus2Handled |
Gets whether the packet with ID packetId + 2 was retransmitted. More... | |
(bool) | - lostPacketIdPlus3Handled |
Gets whether the packet with ID packetId + 3 was retransmitted. More... | |
(bool) | - lostPacketIdPlus4Handled |
Gets whether the packet with ID packetId + 4 was retransmitted. More... | |
(bool) | - lostPacketIdPlus5Handled |
Gets whether the packet with ID packetId + 5 was retransmitted. More... | |
(bool) | - lostPacketIdPlus6Handled |
Gets whether the packet with ID packetId + 6 was retransmitted. More... | |
(bool) | - lostPacketIdPlus7Handled |
Gets whether the packet with ID packetId + 7 was retransmitted. More... | |
(bool) | - lostPacketIdPlus8Handled |
Gets whether the packet with ID packetId + 8 was retransmitted. More... | |
(bool) | - lostPacketIdPlus9Handled |
Gets whether the packet with ID packetId + 9 was retransmitted. More... | |
(int) | - lostPacketIdPlusLength |
Gets the length of the lost packet identifier plus. More... | |
(int) | - packetId |
Gets the RTP sequence number of the lost packet. More... | |
(bool) | - packetIdHandled |
Gets whether the packet with ID packetId was retransmitted. More... | |
(void) | - setBitmaskOfLostPackets: |
Sets the bitmask of lost packets. More... | |
(void) | - setLostPacketIdPlus:lost: |
Sets whether the packet with ID packetId + value was lost. More... | |
(void) | - setLostPacketIdPlus10Handled: |
Sets whether the packet with ID packetId + 10 was retransmitted. More... | |
(void) | - setLostPacketIdPlus11Handled: |
Sets whether the packet with ID packetId + 11 was retransmitted. More... | |
(void) | - setLostPacketIdPlus12Handled: |
Sets whether the packet with ID packetId + 12 was retransmitted. More... | |
(void) | - setLostPacketIdPlus13Handled: |
Sets whether the packet with ID packetId + 13 was retransmitted. More... | |
(void) | - setLostPacketIdPlus14Handled: |
Sets whether the packet with ID packetId + 14 was retransmitted. More... | |
(void) | - setLostPacketIdPlus15Handled: |
Sets whether the packet with ID packetId + 15 was retransmitted. More... | |
(void) | - setLostPacketIdPlus16Handled: |
Sets whether the packet with ID packetId + 16 was retransmitted. More... | |
(void) | - setLostPacketIdPlus1Handled: |
Sets whether the packet with ID packetId + 1 was retransmitted. More... | |
(void) | - setLostPacketIdPlus2Handled: |
Sets whether the packet with ID packetId + 2 was retransmitted. More... | |
(void) | - setLostPacketIdPlus3Handled: |
Sets whether the packet with ID packetId + 3 was retransmitted. More... | |
(void) | - setLostPacketIdPlus4Handled: |
Sets whether the packet with ID packetId + 4 was retransmitted. More... | |
(void) | - setLostPacketIdPlus5Handled: |
Sets whether the packet with ID packetId + 5 was retransmitted. More... | |
(void) | - setLostPacketIdPlus6Handled: |
Sets whether the packet with ID packetId + 6 was retransmitted. More... | |
(void) | - setLostPacketIdPlus7Handled: |
Sets whether the packet with ID packetId + 7 was retransmitted. More... | |
(void) | - setLostPacketIdPlus8Handled: |
Sets whether the packet with ID packetId + 8 was retransmitted. More... | |
(void) | - setLostPacketIdPlus9Handled: |
Sets whether the packet with ID packetId + 9 was retransmitted. More... | |
(void) | - setLostPacketIdPlusHandled:handled: |
Sets whether the packet with ID packetId + value was retransmitted. More... | |
(void) | - setPacketId: |
Sets the RTP sequence number of the lost packet. More... | |
(void) | - setPacketIdHandled: |
Sets whether the packet with ID packetId was retransmitted. More... | |
Class Methods | |
(int) | + fixedPayloadLength |
Gets the length of the registered fixed payload. More... | |
(FMLiveSwitchGenericNack *) | + genericNack |
Initializes a new instance of the FMLiveSwitchGenericNack class. More... | |
(FMLiveSwitchGenericNack *) | + genericNackWithBuffer: |
Initializes a new instance of the FMLiveSwitchGenericNack class. More... | |
A Generic NACK feedback message.
- (int) bitmaskOfLostPackets |
Gets the bitmask of lost packets.
- (FMLiveSwitchDataBuffer*) dataBuffer |
Gets the data buffer.
+ (int) fixedPayloadLength |
Gets the length of the registered fixed payload.
- (void) flush |
Updates this instance to reflect only the lost packets that were not retransmitted.
+ (FMLiveSwitchGenericNack*) genericNack |
Initializes a new instance of the FMLiveSwitchGenericNack class.
+ (FMLiveSwitchGenericNack*) genericNackWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Initializes a new instance of the FMLiveSwitchGenericNack class.
buffer | The buffer. |
- (bool) getLostPacketIdPlus: | (int) | value |
Gets whether the packet with ID packetId + value was lost.
value | The value. |
- (bool) getLostPacketIdPlusHandled: | (int) | value |
Gets whether the packet with ID packetId + value was retransmitted.
value | The value. |
- (bool) handled |
Gets a value indicating whether all lost packets were retransmitted.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchGenericNack class.
- (instancetype) initWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Initializes a new instance of the FMLiveSwitchGenericNack class.
buffer | The buffer. |
- (bool) lostPacketIdPlus10Handled |
Gets whether the packet with ID packetId + 10 was retransmitted.
- (bool) lostPacketIdPlus11Handled |
Gets whether the packet with ID packetId + 11 was retransmitted.
- (bool) lostPacketIdPlus12Handled |
Gets whether the packet with ID packetId + 12 was retransmitted.
- (bool) lostPacketIdPlus13Handled |
Gets whether the packet with ID packetId + 13 was retransmitted.
- (bool) lostPacketIdPlus14Handled |
Gets whether the packet with ID packetId + 14 was retransmitted.
- (bool) lostPacketIdPlus15Handled |
Gets whether the packet with ID packetId + 15 was retransmitted.
- (bool) lostPacketIdPlus16Handled |
Gets whether the packet with ID packetId + 16 was retransmitted.
- (bool) lostPacketIdPlus1Handled |
Gets whether the packet with ID packetId + 1 was retransmitted.
- (bool) lostPacketIdPlus2Handled |
Gets whether the packet with ID packetId + 2 was retransmitted.
- (bool) lostPacketIdPlus3Handled |
Gets whether the packet with ID packetId + 3 was retransmitted.
- (bool) lostPacketIdPlus4Handled |
Gets whether the packet with ID packetId + 4 was retransmitted.
- (bool) lostPacketIdPlus5Handled |
Gets whether the packet with ID packetId + 5 was retransmitted.
- (bool) lostPacketIdPlus6Handled |
Gets whether the packet with ID packetId + 6 was retransmitted.
- (bool) lostPacketIdPlus7Handled |
Gets whether the packet with ID packetId + 7 was retransmitted.
- (bool) lostPacketIdPlus8Handled |
Gets whether the packet with ID packetId + 8 was retransmitted.
- (bool) lostPacketIdPlus9Handled |
Gets whether the packet with ID packetId + 9 was retransmitted.
- (int) lostPacketIdPlusLength |
Gets the length of the lost packet identifier plus.
- (int) packetId |
Gets the RTP sequence number of the lost packet.
- (bool) packetIdHandled |
Gets whether the packet with ID packetId was retransmitted.
- (void) setBitmaskOfLostPackets: | (int) | value |
Sets the bitmask of lost packets.
- (void) setLostPacketIdPlus10Handled: | (bool) | value |
Sets whether the packet with ID packetId + 10 was retransmitted.
- (void) setLostPacketIdPlus11Handled: | (bool) | value |
Sets whether the packet with ID packetId + 11 was retransmitted.
- (void) setLostPacketIdPlus12Handled: | (bool) | value |
Sets whether the packet with ID packetId + 12 was retransmitted.
- (void) setLostPacketIdPlus13Handled: | (bool) | value |
Sets whether the packet with ID packetId + 13 was retransmitted.
- (void) setLostPacketIdPlus14Handled: | (bool) | value |
Sets whether the packet with ID packetId + 14 was retransmitted.
- (void) setLostPacketIdPlus15Handled: | (bool) | value |
Sets whether the packet with ID packetId + 15 was retransmitted.
- (void) setLostPacketIdPlus16Handled: | (bool) | value |
Sets whether the packet with ID packetId + 16 was retransmitted.
- (void) setLostPacketIdPlus1Handled: | (bool) | value |
Sets whether the packet with ID packetId + 1 was retransmitted.
- (void) setLostPacketIdPlus2Handled: | (bool) | value |
Sets whether the packet with ID packetId + 2 was retransmitted.
- (void) setLostPacketIdPlus3Handled: | (bool) | value |
Sets whether the packet with ID packetId + 3 was retransmitted.
- (void) setLostPacketIdPlus4Handled: | (bool) | value |
Sets whether the packet with ID packetId + 4 was retransmitted.
- (void) setLostPacketIdPlus5Handled: | (bool) | value |
Sets whether the packet with ID packetId + 5 was retransmitted.
- (void) setLostPacketIdPlus6Handled: | (bool) | value |
Sets whether the packet with ID packetId + 6 was retransmitted.
- (void) setLostPacketIdPlus7Handled: | (bool) | value |
Sets whether the packet with ID packetId + 7 was retransmitted.
- (void) setLostPacketIdPlus8Handled: | (bool) | value |
Sets whether the packet with ID packetId + 8 was retransmitted.
- (void) setLostPacketIdPlus9Handled: | (bool) | value |
Sets whether the packet with ID packetId + 9 was retransmitted.
- (void) setLostPacketIdPlus: | (int) | value | |
lost: | (bool) | lost | |
Sets whether the packet with ID packetId + value was lost.
value | The value. |
lost | Whether the packet was lost. |
- (void) setLostPacketIdPlusHandled: | (int) | value | |
handled: | (bool) | handled | |
Sets whether the packet with ID packetId + value was retransmitted.
value | The value. |
handled | Whether the packet was retransmitted. |
- (void) setPacketId: | (int) | value |
Sets the RTP sequence number of the lost packet.
- (void) setPacketIdHandled: | (bool) | value |
Sets whether the packet with ID packetId was retransmitted.