Search Results for

    / fm / liveswitch / sdp / Attribute

    Class: Attribute

    liveswitch.sdp.Attribute

    An SDP attribute.

    Hierarchy

    • Attribute

      ↳ CandidateAttribute

      ↳ FingerprintAttribute

      ↳ LiteAttribute

      ↳ MismatchAttribute

      ↳ OptionsAttribute

      ↳ PasswordAttribute

      ↳ RemoteCandidatesAttribute

      ↳ UfragAttribute

      ↳ ContentAttribute

      ↳ MutedAttribute

      ↳ BundleOnlyAttribute

      ↳ CategoryAttribute

      ↳ CharacterSetAttribute

      ↳ ConferenceTypeAttribute

      ↳ CryptoAttribute

      ↳ DirectionAttribute

      ↳ FormatParametersAttribute

      ↳ FrameRateAttribute

      ↳ GroupAttribute

      ↳ KeywordsAttribute

      ↳ LanguageAttribute

      ↳ MaxPacketTimeAttribute

      ↳ MediaStreamIdAttribute

      ↳ MediaStreamIdSemanticAttribute

      ↳ OrientationAttribute

      ↳ PacketTimeAttribute

      ↳ QualityAttribute

      ↳ Attribute

      ↳ FeedbackAttribute

      ↳ MuxAttribute

      ↳ ExtMapAttribute

      ↳ MapAttribute

      ↳ RidAttribute

      ↳ SimulcastAttribute

      ↳ SsrcGroupAttribute

      ↳ SsrcAttribute

      ↳ MapAttribute

      ↳ MaxMessageSizeAttribute

      ↳ PortAttribute

      ↳ SdpLanguageAttribute

      ↳ SetupAttribute

      ↳ ToolAttribute

      ↳ UnknownAttribute

    Table of contents

    Constructors

    • constructor

    Methods

    • getAttributeType
    • getAttributeValue
    • getMultiplexingCategory
    • getTypeString
    • setAttributeType
    • setMultiplexingCategory
    • toString
    • createAttribute
    • getTypeName
    • isMediaLevel
    • isSessionLevel
    • parse

    Constructors

    constructor

    + new Attribute(): Attribute

    Returns: Attribute

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:21

    Methods

    getAttributeType

    ▸ getAttributeType(): AttributeType

    Gets this Attribute's Type.

    Returns: AttributeType

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:582


    getAttributeValue

    ▸ Protected AbstractgetAttributeValue(): string

    Gets the internal value of the attribute.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:594


    getMultiplexingCategory

    ▸ getMultiplexingCategory(): AttributeCategory

    Gets the Multiplexing Category of this Attribute.

    Returns: AttributeCategory

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:600


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:9


    setAttributeType

    ▸ setAttributeType(value: AttributeType): void

    Sets this Attribute's Type.

    Parameters:

    Name Type
    value AttributeType

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:612


    setMultiplexingCategory

    ▸ ProtectedsetMultiplexingCategory(value: AttributeCategory): void

    Sets the Multiplexing Category of this Attribute.

    Parameters:

    Name Type
    value AttributeCategory

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:624


    toString

    ▸ toString(): string

    Converts this instance to a string.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:636


    createAttribute

    ▸ StaticcreateAttribute(name: string, value: string): Attribute

    Creates an attribute.

    Parameters:

    Name Type Description
    name string The name.
    value string The value.

    Returns: Attribute

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:42


    getTypeName

    ▸ StaticgetTypeName(type: Type): string

    Gets the name of the attribute type.

    Parameters:

    Name Type Description
    type Type The attribute type.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:467


    isMediaLevel

    ▸ StaticisMediaLevel(type: Type): boolean

    Determines whether the type applies to media streams.

    Parameters:

    Name Type Description
    type Type The type.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:492


    isSessionLevel

    ▸ StaticisSessionLevel(type: Type): boolean

    Determines whether the type applies to sessions.

    Parameters:

    Name Type Description
    type Type The type.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:516


    parse

    ▸ Staticparse(s: string): Attribute

    Creates an [[fm.liveswitch.sdp.connectionData]] instance from a string.

    Parameters:

    Name Type Description
    s string The string to parse.

    Returns: Attribute

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Attribute.ts:540

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0