Class GenericNack
A Generic NACK feedback message.
Inheritance
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class GenericNack
Constructors
GenericNack()
Initializes a new instance of the Generic
Declaration
public GenericNack()
GenericNack(DataBuffer)
Initializes a new instance of the Generic
Declaration
public GenericNack(DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
Data |
buffer | The buffer. |
Properties
BitmaskOfLostPackets
Gets or sets the bitmask of lost packets.
Declaration
public int BitmaskOfLostPackets { get; set; }
Property Value
Type | Description |
---|---|
System. |
DataBuffer
Gets the data buffer.
Declaration
public DataBuffer DataBuffer { get; }
Property Value
Type | Description |
---|---|
Data |
FixedPayloadLength
Gets the length of the registered fixed payload.
Declaration
public static int FixedPayloadLength { get; }
Property Value
Type | Description |
---|---|
System. |
Handled
Gets a value indicating whether all lost packets were retransmitted.
Declaration
public bool Handled { get; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus10Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus10Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus11Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus11Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus12Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus12Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus13Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus13Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus14Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus14Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus15Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus15Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus16Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus16Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus1Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus1Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus2Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus2Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus3Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus3Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus4Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus4Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus5Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus5Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus6Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus6Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus7Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus7Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus8Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus8Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlus9Handled
Gets or sets whether the packet with ID Packet
Declaration
public bool LostPacketIdPlus9Handled { get; set; }
Property Value
Type | Description |
---|---|
System. |
LostPacketIdPlusLength
Gets the length of the lost packet identifier plus.
Declaration
public int LostPacketIdPlusLength { get; }
Property Value
Type | Description |
---|---|
System. |
PacketId
Gets or sets the RTP sequence number of the lost packet.
Declaration
public int PacketId { get; set; }
Property Value
Type | Description |
---|---|
System. |
PacketIdHandled
Gets or sets whether the packet with ID Packet
Declaration
public bool PacketIdHandled { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Flush()
Updates this instance to reflect only the lost packets that were not retransmitted.
Declaration
public void Flush()
GetLostPacketIdPlus(Int32)
Gets whether the packet with ID Packet
Declaration
public bool GetLostPacketIdPlus(int value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The value. |
Returns
Type | Description |
---|---|
System. |
Whether the packet was lost. |
GetLostPacketIdPlusHandled(Int32)
Gets whether the packet with ID Packet
Declaration
public bool GetLostPacketIdPlusHandled(int value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The value. |
Returns
Type | Description |
---|---|
System. |
Whether the packet was retransmitted. |
SetLostPacketIdPlus(Int32, Boolean)
Sets whether the packet with ID Packet
Declaration
public void SetLostPacketIdPlus(int value, bool lost)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The value. |
System. |
lost | Whether the packet was lost. |
SetLostPacketIdPlusHandled(Int32, Boolean)
Sets whether the packet with ID Packet
Declaration
public void SetLostPacketIdPlusHandled(int value, bool handled)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The value. |
System. |
handled | Whether the packet was retransmitted. |