Class FeedbackAttribute
This attribute is used to indicate the capability of using RTCP feedback.
Inherited Members
Namespace: FM.LiveSwitch.Sdp.Rtcp
Assembly: FM.LiveSwitch.dll
Syntax
public class FeedbackAttribute : AttributeConstructors
FeedbackAttribute(Int32, String)
Initializes a new instance of the FeedbackAttribute class.
Declaration
public FeedbackAttribute(int payloadType, string type)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
| System.String | type | The type. | 
FeedbackAttribute(Int32, String, String)
Initializes a new instance of the FeedbackAttribute class.
Declaration
public FeedbackAttribute(int payloadType, string type, string subtype)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
| System.String | type | The type. | 
| System.String | subtype | The subtype. | 
Properties
PayloadType
Gets or sets the payload type.
Declaration
public int PayloadType { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
SubType
Gets or sets the sub-type.
Declaration
public string SubType { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Type
Gets or sets the type.
Declaration
public string Type { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
WildcardPayloadType
Gets the payload type that represents wildcard feedback attributes ('*').
Declaration
public static int WildcardPayloadType { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
CcmFirAttribute(Int32)
Creates a "ccm fir" feedback attribute.
Declaration
public static FeedbackAttribute CcmFirAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
CcmLrrAttribute(Int32)
Creates a "ccm lrr" feedback attribute.
Declaration
public static FeedbackAttribute CcmLrrAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
CcmTmmbnAttribute(Int32)
Creates a "ccm tmmbn" feedback attribute.
Declaration
public static FeedbackAttribute CcmTmmbnAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
CcmTmmbrAttribute(Int32)
Creates a "ccm tmmbr" feedback attribute.
Declaration
public static FeedbackAttribute CcmTmmbrAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
FromAttributeValue(String)
Initializes a new instance of the FeedbackAttribute class.
Declaration
public static FeedbackAttribute FromAttributeValue(string value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | value | The attribute value. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
NackAttribute(Int32)
Creates a "nack" feedback attribute.
Declaration
public static FeedbackAttribute NackAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
NackPliAttribute(Int32)
Creates a "nack pli" feedback attribute.
Declaration
public static FeedbackAttribute NackPliAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
NackRpsiAttribute(Int32)
Creates a "nack rpsi" feedback attribute.
Declaration
public static FeedbackAttribute NackRpsiAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
NackSliAttribute(Int32)
Creates a "nack sli" feedback attribute.
Declaration
public static FeedbackAttribute NackSliAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
RembAttribute(Int32)
Creates a "goog-remb" feedback attribute.
Declaration
public static FeedbackAttribute RembAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute | 
TransportCCAttribute(Int32)
Creates a "transport-cc" feedback attribute.
Declaration
public static FeedbackAttribute TransportCCAttribute(int payloadType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | payloadType | The payload type. | 
Returns
| Type | Description | 
|---|---|
| FeedbackAttribute |