A Generic NACK feedback message. More...
Public Member Functions | |
| void | flush () |
| Updates this instance to reflect only the lost packets that were not retransmitted. More... | |
| GenericNack () | |
| Initializes a new instance of the fm.liveswitch.GenericNack class. More... | |
| GenericNack (fm.liveswitch.DataBuffer buffer) | |
| Initializes a new instance of the fm.liveswitch.GenericNack class. More... | |
| int | getBitmaskOfLostPackets () |
| Gets the bitmask of lost packets. More... | |
| fm.liveswitch.DataBuffer | getDataBuffer () |
| Gets the data buffer. More... | |
| boolean | getHandled () |
| Gets a value indicating whether all lost packets were retransmitted. More... | |
| boolean | getLostPacketIdPlus (int value) |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + value was lost. More... | |
| boolean | getLostPacketIdPlus10Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 10 was retransmitted. More... | |
| boolean | getLostPacketIdPlus11Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 11 was retransmitted. More... | |
| boolean | getLostPacketIdPlus12Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 12 was retransmitted. More... | |
| boolean | getLostPacketIdPlus13Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 13 was retransmitted. More... | |
| boolean | getLostPacketIdPlus14Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 14 was retransmitted. More... | |
| boolean | getLostPacketIdPlus15Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 15 was retransmitted. More... | |
| boolean | getLostPacketIdPlus16Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 16 was retransmitted. More... | |
| boolean | getLostPacketIdPlus1Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 1 was retransmitted. More... | |
| boolean | getLostPacketIdPlus2Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 2 was retransmitted. More... | |
| boolean | getLostPacketIdPlus3Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 3 was retransmitted. More... | |
| boolean | getLostPacketIdPlus4Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 4 was retransmitted. More... | |
| boolean | getLostPacketIdPlus5Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 5 was retransmitted. More... | |
| boolean | getLostPacketIdPlus6Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 6 was retransmitted. More... | |
| boolean | getLostPacketIdPlus7Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 7 was retransmitted. More... | |
| boolean | getLostPacketIdPlus8Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 8 was retransmitted. More... | |
| boolean | getLostPacketIdPlus9Handled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 9 was retransmitted. More... | |
| boolean | getLostPacketIdPlusHandled (int value) |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + value was retransmitted. More... | |
| int | getLostPacketIdPlusLength () |
| Gets the length of the lost packet identifier plus. More... | |
| int | getPacketId () |
| Gets the RTP sequence number of the lost packet. More... | |
| boolean | getPacketIdHandled () |
| Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId was retransmitted. More... | |
| void | setBitmaskOfLostPackets (int value) |
| Sets the bitmask of lost packets. More... | |
| void | setLostPacketIdPlus (int value, boolean lost) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + value was lost. More... | |
| void | setLostPacketIdPlus10Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 10 was retransmitted. More... | |
| void | setLostPacketIdPlus11Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 11 was retransmitted. More... | |
| void | setLostPacketIdPlus12Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 12 was retransmitted. More... | |
| void | setLostPacketIdPlus13Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 13 was retransmitted. More... | |
| void | setLostPacketIdPlus14Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 14 was retransmitted. More... | |
| void | setLostPacketIdPlus15Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 15 was retransmitted. More... | |
| void | setLostPacketIdPlus16Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 16 was retransmitted. More... | |
| void | setLostPacketIdPlus1Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 1 was retransmitted. More... | |
| void | setLostPacketIdPlus2Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 2 was retransmitted. More... | |
| void | setLostPacketIdPlus3Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 3 was retransmitted. More... | |
| void | setLostPacketIdPlus4Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 4 was retransmitted. More... | |
| void | setLostPacketIdPlus5Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 5 was retransmitted. More... | |
| void | setLostPacketIdPlus6Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 6 was retransmitted. More... | |
| void | setLostPacketIdPlus7Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 7 was retransmitted. More... | |
| void | setLostPacketIdPlus8Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 8 was retransmitted. More... | |
| void | setLostPacketIdPlus9Handled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 9 was retransmitted. More... | |
| void | setLostPacketIdPlusHandled (int value, boolean handled) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + value was retransmitted. More... | |
| void | setPacketId (int value) |
| Sets the RTP sequence number of the lost packet. More... | |
| void | setPacketIdHandled (boolean value) |
| Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId was retransmitted. More... | |
Static Public Member Functions | |
| static int | getFixedPayloadLength () |
| Gets the length of the registered fixed payload. More... | |
A Generic NACK feedback message.
| fm.liveswitch.GenericNack.GenericNack | ( | ) |
Initializes a new instance of the fm.liveswitch.GenericNack class.
| fm.liveswitch.GenericNack.GenericNack | ( | fm.liveswitch.DataBuffer | buffer | ) |
Initializes a new instance of the fm.liveswitch.GenericNack class.
| buffer | The buffer. |
| void fm.liveswitch.GenericNack.flush | ( | ) |
Updates this instance to reflect only the lost packets that were not retransmitted.
| int fm.liveswitch.GenericNack.getBitmaskOfLostPackets | ( | ) |
Gets the bitmask of lost packets.
| fm.liveswitch.DataBuffer fm.liveswitch.GenericNack.getDataBuffer | ( | ) |
Gets the data buffer.
|
static |
Gets the length of the registered fixed payload.
| boolean fm.liveswitch.GenericNack.getHandled | ( | ) |
Gets a value indicating whether all lost packets were retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus | ( | int | value | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + value was lost.
| value | The value. |
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus10Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 10 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus11Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 11 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus12Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 12 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus13Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 13 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus14Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 14 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus15Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 15 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus16Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 16 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus1Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 1 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus2Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 2 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus3Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 3 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus4Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 4 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus5Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 5 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus6Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 6 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus7Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 7 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus8Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 8 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlus9Handled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 9 was retransmitted.
| boolean fm.liveswitch.GenericNack.getLostPacketIdPlusHandled | ( | int | value | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + value was retransmitted.
| value | The value. |
| int fm.liveswitch.GenericNack.getLostPacketIdPlusLength | ( | ) |
Gets the length of the lost packet identifier plus.
| int fm.liveswitch.GenericNack.getPacketId | ( | ) |
Gets the RTP sequence number of the lost packet.
| boolean fm.liveswitch.GenericNack.getPacketIdHandled | ( | ) |
Gets whether the packet with ID fm.liveswitch.GenericNack#getPacketId was retransmitted.
| void fm.liveswitch.GenericNack.setBitmaskOfLostPackets | ( | int | value | ) |
Sets the bitmask of lost packets.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus | ( | int | value, |
| boolean | lost | ||
| ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + value was lost.
| value | The value. |
| lost | Whether the packet was lost. |
| void fm.liveswitch.GenericNack.setLostPacketIdPlus10Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 10 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus11Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 11 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus12Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 12 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus13Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 13 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus14Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 14 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus15Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 15 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus16Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 16 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus1Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 1 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus2Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 2 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus3Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 3 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus4Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 4 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus5Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 5 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus6Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 6 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus7Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 7 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus8Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 8 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlus9Handled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + 9 was retransmitted.
| void fm.liveswitch.GenericNack.setLostPacketIdPlusHandled | ( | int | value, |
| boolean | handled | ||
| ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId + value was retransmitted.
| value | The value. |
| handled | Whether the packet was retransmitted. |
| void fm.liveswitch.GenericNack.setPacketId | ( | int | value | ) |
Sets the RTP sequence number of the lost packet.
| void fm.liveswitch.GenericNack.setPacketIdHandled | ( | boolean | value | ) |
Sets whether the packet with ID fm.liveswitch.GenericNack#getPacketId was retransmitted.