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 | |
---|---|---|
Sdp<TGlobalDescription, TMediaDescription>() | Initializes an instance of the SDP class. | |
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 | |
---|---|---|
CapacityEstimate | Gets the approximate amount of space required (in characters) to serialize the SDP. | |
GlobalDescription | Gets the GlobalDescription associated with this SDP. | |
LastParseErrorLineNumber | Gets the line number within the SDP where the error was detected. Line numbers start at 1. | |
LastParseErrorMessage | Gets a detailed message describing why the SDP could not be parsed upon failure. | |
MediaDescriptions | Gets the list of MediaDescriptions associated with this SDP. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
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. | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
Parse(ArraySegment<Byte>) | Parses the supplied array segment into data structures representing the components of the SDP. | |
Parse([]) | Parses the supplied byte array into data structures representing the components of the SDP. | |
Parse(String) | Parses the supplied array segment into data structures representing the components of the SDP. | |
Parse(ArraySegment<Byte>, Boolean) | Parses the supplied array segment into data structures representing the components of the SDP. | |
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().) | |
TryParse(ArraySegment<Byte>) | Parses the supplied array segment of bytes as an SDP. Returns true if the SDP is valid. | |
TryParse([]) | Parses the supplied array of bytes as an SDP. Returns true if the SDP is valid. | |
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. | |
TryParse([], Int32, Int32, Boolean) | Parses the supplied array of bytes as an SDP. Returns true if the SDP is valid. | |
Write | Creates a string containing a valid SDP that is ready to be transmitted. |
Top