SdpGlobalDescription Class

Definition

Contains components of the global section of the SDP.

public ref class SdpGlobalDescription
public class SdpGlobalDescription
type SdpGlobalDescription = class
Public Class SdpGlobalDescription
Inheritance
SdpGlobalDescription
Derived

Constructors

SdpGlobalDescription()

Initializes an instance of SdpGlobalDescription with default values.

SdpGlobalDescription(SdpGlobalDescription)

Copy constructor for SdpGlobalDesscription. This constructor is private, but the Copy() function may be used to create a copy.

Properties

Attributes

Gets a list of "a" lines from the SDP.

Bandwidth

Gets or sets details of the "b" line from the SDP.

Bandwidths

Gets the list of bandwidths from the SDP.

Connection

Gets or sets details of the "c" line from the SDP.

EncryptionKey

Gets or sets details of the "k" line from the SDP.

Origin

Gets or sets details of the "o" line from the SDP.

Methods

Copy()

Creates a new instance of SdpGlobalDescription with the same settings as the current instance. This function performs a deep copy by copying member fields as well.

ParseAttribute(SdpParseStatus, String, String)

Called whenever an attribute should be processed by the parser. A derived class can overload this function and provide customized parsing. The supplied default function will simply create an instance of SdpAttribute and append it to the list of SdpAttributes. Should a derived class still want the attribute appended, it should call the base implementation.

SerializeAttributes(SdpWriter)

Serializes attributes ("a" lines) onto the supplied StringBuilder.

Write(TextWriter)

Appends the global section of the SDP to the provided string builder.

Applies to