The SdpMediaDescriptiontype exposes the following members.

Constructors

  Name Description
SdpMediaDescription Overloaded.

Methods

  Name Description
Copy
Creates a new instance of SdpMediaDescription with the same values of the current instance. This function performs a deep copy by copying member fields as well.
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
MemberwiseClone (Inherited from Object.)
ParseAttribute
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
Serializes attributes ("a" lines) onto the supplied SdpWriter.
SerializeFormats
Serializes supported formats onto the supplied StringBuilder.
ToString (Inherited from Object.)
Write
Appends the global section of the SDP to the provided string builder.

Properties

  Name Description
Attributes
Gets the list of "a" lines from the SDP.
Bandwidth
Gets the details of the "b" line from the SDP.
Connection
Gets the details of the "c" line from the SDP.
EncryptionKey
Gets the details of the "k" line from the SDP.
Formats
Gets one or more tokens found at the end of the "m" line. When using RTP for a transport, these tokens usually represent a list of payload types.
MediaName
Gets the type of media represented by the "m" line; for example, "audio" and "video."
Port
Gets the port where the media should be directed.
PortCount
Gets the number of ports in series starting with the value returned by the Port property. Default value if nothing is specified is 1.
TransportProtocol
Gets the transport protocol specified in the "m" line. For example, "RTP/AVP". The default value "RTP/AVP" is used when serializing if nothing else is specified.

See Also