Search Results for

    Show / Hide Table of Contents

    Class MapAttribute

    This attribute maps from an RTP payload type number (as used in an "m=" line) to an format name denoting the payload format to be used. It also provides information on the clock rate and format parameters. It is a media-level attribute that is not dependent on charset.

    Inheritance
    System.Object
    Attribute
    MapAttribute
    Inherited Members
    Attribute.AttributeType
    Attribute.MultiplexingCategory
    Attribute.GetTypeName(Type)
    Attribute.IsSessionLevel(Type)
    Attribute.IsMediaLevel(Type)
    Attribute.CreateAttribute(String, String)
    Attribute.ToString()
    Attribute.Parse(String)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FM.LiveSwitch.Sdp.Rtp
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class MapAttribute : Attribute

    Constructors

    MapAttribute(Int32, String, Int32)

    Initializes a new instance of the MapAttribute class.

    Declaration
    public MapAttribute(int payloadType, string formatName, int clockRate)
    Parameters
    Type Name Description
    System.Int32 payloadType

    The RTP payload type number.

    System.String formatName

    The format name denoting the payload format to be used.

    System.Int32 clockRate

    The payload clock rate.

    MapAttribute(Int32, String, Int32, String)

    Initializes a new instance of the MapAttribute class.

    Declaration
    public MapAttribute(int payloadType, string formatName, int clockRate, string formatParameters)
    Parameters
    Type Name Description
    System.Int32 payloadType

    The RTP payload type number.

    System.String formatName

    The format name denoting the payload format to be used.

    System.Int32 clockRate

    The payload clock rate.

    System.String formatParameters

    The format parameters for the payload.

    Properties

    ClockRate

    Gets or sets the payload clock rate.

    Declaration
    public int ClockRate { get; }
    Property Value
    Type Description
    System.Int32

    FormatName

    Gets or sets the format name denoting the payload format to be used.

    Declaration
    public string FormatName { get; }
    Property Value
    Type Description
    System.String

    FormatParameters

    Gets or sets format parameters for the payload.

    Declaration
    public string FormatParameters { get; }
    Property Value
    Type Description
    System.String

    PayloadType

    Gets or sets the RTP payload type number.

    Declaration
    public int PayloadType { get; set; }
    Property Value
    Type Description
    System.Int32

    RelatedFormatParametersAttribute

    Gets or sets Format Parameters attribute associated with this Map Attribute

    Declaration
    public FormatParametersAttribute RelatedFormatParametersAttribute { get; set; }
    Property Value
    Type Description
    FormatParametersAttribute

    RelatedRtcpFeedbackAttributes

    Gets Rtcp Feedback attributes associated with this Map Attribute.

    Declaration
    public FeedbackAttribute[] RelatedRtcpFeedbackAttributes { get; }
    Property Value
    Type Description
    FeedbackAttribute[]

    Methods

    AddRelatedRtcpFeedbackAttribute(FeedbackAttribute)

    Adds an Rtcp Feedback attribute associated with this Map Attribute.

    Declaration
    public void AddRelatedRtcpFeedbackAttribute(FeedbackAttribute attribute)
    Parameters
    Type Name Description
    FeedbackAttribute attribute

    FromAttributeValue(String)

    Initializes a new instance of the MapAttribute class.

    Declaration
    public static MapAttribute FromAttributeValue(string value)
    Parameters
    Type Name Description
    System.String value

    The attribute value.

    Returns
    Type Description
    MapAttribute

    GetAttributeValue()

    Gets the internal value of the attribute.

    Declaration
    protected override string GetAttributeValue()
    Returns
    Type Description
    System.String
    Overrides
    Attribute.GetAttributeValue()

    GetIanaMapAttribute(Int32)

    Gets the RTP map attribute for an IANA-reserved payload type.

    Declaration
    public static MapAttribute GetIanaMapAttribute(int payloadType)
    Parameters
    Type Name Description
    System.Int32 payloadType

    The payload type.

    Returns
    Type Description
    MapAttribute

    GetRelatedCcmFirFeedbackAttribute()

    Gets the RTCP "ccm fir" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedCcmFirFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedCcmLrrFeedbackAttribute()

    Gets the RTCP "ccm lrr" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedCcmLrrFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedCcmTmmbnFeedbackAttribute()

    Gets the RTCP "ccm tmmbn" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedCcmTmmbnFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedCcmTmmbrFeedbackAttribute()

    Gets the RTCP "ccm tmmbr" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedCcmTmmbrFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedNackFeedbackAttribute()

    Gets the RTCP "nack" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedNackFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedNackPliFeedbackAttribute()

    Gets the RTCP "nack pli" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedNackPliFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedNackRpsiFeedbackAttribute()

    Gets the RTCP "nack rpsi" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedNackRpsiFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedNackSliFeedbackAttribute()

    Gets the RTCP "nack sli" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedNackSliFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedRembFeedbackAttribute()

    Gets the RTCP "goog-remb" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedRembFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    GetRelatedRtcpFeedbackAttribute(Int32, String, String)

    Gets the RTCP feedback attribute for the given payload type, type and subtype associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedRtcpFeedbackAttribute(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 sub-type.

    Returns
    Type Description
    FeedbackAttribute

    GetRelatedRtcpFeedbackAttribute(String, String)

    Gets the RTCP feedback attribute for the given type and subtype associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedRtcpFeedbackAttribute(string type, string subType)
    Parameters
    Type Name Description
    System.String type

    The type.

    System.String subType

    The sub-type.

    Returns
    Type Description
    FeedbackAttribute

    GetRelatedTransportCCFeedbackAttribute()

    Gets the RTCP "transport-cc" feedback attribute associated with this payload type.

    Declaration
    public FeedbackAttribute GetRelatedTransportCCFeedbackAttribute()
    Returns
    Type Description
    FeedbackAttribute

    RemoveRelatedRtcpFeedbackAttribute(FeedbackAttribute)

    Removes an Rtcp Feedback attribute associated with this Map Attribute. Returns true if the attribute was reomved; if the attribute was not present, returns false.

    Declaration
    public bool RemoveRelatedRtcpFeedbackAttribute(FeedbackAttribute attribute)
    Parameters
    Type Name Description
    FeedbackAttribute attribute
    Returns
    Type Description
    System.Boolean

    ResetRtcpFeedbackAttributes(FeedbackAttribute[])

    Resets Rtcp Feedback attributes associated with this Map Attribute.

    Declaration
    public void ResetRtcpFeedbackAttributes(FeedbackAttribute[] attributes)
    Parameters
    Type Name Description
    FeedbackAttribute[] attributes
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.18.0