Search Results for

    Show / Hide Table of Contents

    Class MaxPacketTimeAttribute

    This gives the maximum amount of media that can be encapsulated in each packet, expressed as time in milliseconds. The time SHALL be calculated as the sum of the time the media present in the packet represents. For frame-based codecs, the time SHOULD be an integer multiple of the frame size. This attribute is probably only meaningful for audio data, but may be used with other media types if it makes sense. It is a media-level attribute, and it is not dependent on charset. Note that this attribute was introduced after RFC 2327, and non-updated implementations will ignore this attribute.

    Inheritance
    System.Object
    Attribute
    MaxPacketTimeAttribute
    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.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: FM.LiveSwitch.Sdp
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class MaxPacketTimeAttribute : Attribute

    Constructors

    MaxPacketTimeAttribute(Int32)

    Initializes a new instance of the MaxPacketTimeAttribute class.

    Declaration
    public MaxPacketTimeAttribute(int maxPacketTime)
    Parameters
    Type Name Description
    System.Int32 maxPacketTime

    The maximum amount of media that can be encapsulated, in each packet, expressed as time in milliseconds.

    Properties

    MaxPacketTime

    Gets or sets the maximum amount of media that can be encapsulated, in each packet, expressed as time in milliseconds.

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

    Methods

    FromAttributeValue(String)

    Initializes a new instance of the MaxPacketTimeAttribute class.

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

    The attribute value.

    Returns
    Type Description
    MaxPacketTimeAttribute

    GetAttributeValue()

    Gets the internal value of the attribute.

    Declaration
    protected override string GetAttributeValue()
    Returns
    Type Description
    System.String
    Overrides
    Attribute.GetAttributeValue()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0