Sdp<TGlobalDescription, TMediaDescription> Members

Include Protected Members
Include Inherited Members

Parses or builds an SDP as defined by RFC 2327. Note: All public static members of this type are thread-safe. All instance members are not guaranteed to be thread-safe.

The Sdp<TGlobalDescription, TMediaDescription> type exposes the following members.

Constructors

  Name Description
Public method Sdp<TGlobalDescription, TMediaDescription>() Initializes an instance of the SDP class.
Public method Sdp<TGlobalDescription, TMediaDescription>(Sdp<TGlobalDescription, TMediaDescription>) Initializes a deep copy of the supplied SDP class by copying member fields as well.

Top

Properties

  Name Description
Public property CapacityEstimate Gets the approximate amount of space required (in characters) to serialize the SDP.
Public property GlobalDescription Gets the GlobalDescription associated with this SDP.
Public property LastParseErrorLineNumber Gets the line number within the SDP where the error was detected. Line numbers start at 1.
Public property LastParseErrorMessage Gets a detailed message describing why the SDP could not be parsed upon failure.
Public property MediaDescriptions Gets the list of MediaDescriptions associated with this SDP.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetBytes Creates an array of bytes containing a valid SDP that is ready to be transmitted. This function calls Write() and then converts the result to an array of bytes using the UTF-8 character set.
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method Parse(ArraySegment<Byte>) Parses the supplied array segment into data structures representing the components of the SDP.
Public method Parse([]) Parses the supplied byte array into data structures representing the components of the SDP.
Public method Parse(String) Parses the supplied array segment into data structures representing the components of the SDP.
Public method Parse(ArraySegment<Byte>, Boolean) Parses the supplied array segment into data structures representing the components of the SDP.
Public method ToString Creates a string containing a valid SDP that is ready to be transmitted. This function calls Write() and then converts the result to a string. (Overrides Object.ToString().)
Public method TryParse(ArraySegment<Byte>) Parses the supplied array segment of bytes as an SDP. Returns true if the SDP is valid.
Public method TryParse([]) Parses the supplied array of bytes as an SDP. Returns true if the SDP is valid.
Public method TryParse(String) Parses the supplied string. This function will convert the string to an array of UTF8 encoded bytes and then call the TryParse() function with an array of bytes.
Public method TryParse([], Int32, Int32, Boolean) Parses the supplied array of bytes as an SDP. Returns true if the SDP is valid.
Public method Write Creates a string containing a valid SDP that is ready to be transmitted.

Top

See Also

Reference

Sdp<TGlobalDescription, TMediaDescription> Class

Microsoft.Rtc.Signaling Namespace