SdpDescription Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies an alias for the generic class for simplicity.
public ref class SdpDescription : Microsoft::Rtc::Signaling::Sdp<Microsoft::Rtc::Signaling::SdpGlobalDescription ^, Microsoft::Rtc::Signaling::SdpMediaDescription ^>
public class SdpDescription : Microsoft.Rtc.Signaling.Sdp<Microsoft.Rtc.Signaling.SdpGlobalDescription,Microsoft.Rtc.Signaling.SdpMediaDescription>
type SdpDescription = class
inherit Sdp<SdpGlobalDescription, SdpMediaDescription>
Public Class SdpDescription
Inherits Sdp(Of SdpGlobalDescription, SdpMediaDescription)
- Inheritance
Constructors
SdpDescription() |
Creates the object. |
SdpDescription(Byte[], Boolean) |
Creates the object. |
SdpDescription(Byte[]) |
Creates the object. Srict parsing is enforced. |
Properties
CapacityEstimate |
Gets the approximate amount of space required (in characters) to serialize the SDP. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
GlobalDescription |
Gets the GlobalDescription associated with this SDP. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
LastParseErrorLineNumber |
Gets the line number within the SDP where the error was detected. Line numbers start at 1. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
LastParseErrorMessage |
Gets a detailed message describing why the SDP could not be parsed upon failure. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
MediaDescriptions |
Gets the list of MediaDescriptions associated with this SDP. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
Methods
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. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
Parse(ArraySegment<Byte>, Boolean) |
Parses the supplied array segment into data structures representing the components of the SDP. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
Parse(ArraySegment<Byte>) |
Parses the supplied array segment into data structures representing the components of the SDP. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
Parse(Byte[]) |
Parses the supplied byte array into data structures representing the components of the SDP. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
Parse(String) |
Parses the supplied array segment into data structures representing the components of the SDP. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
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. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
TryParse(ArraySegment<Byte>) |
Parses the supplied array segment of bytes as an SDP. Returns true if the SDP is valid. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
TryParse(Byte[], Int32, Int32, Boolean) |
Parses the supplied array of bytes as an SDP. Returns true if the SDP is valid. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
TryParse(Byte[]) |
Parses the supplied array of bytes as an SDP. Returns true if the SDP is valid. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
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. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |
Write(TextWriter) |
Creates a string containing a valid SDP that is ready to be transmitted. (Inherited from Sdp<TGlobalDescription,TMediaDescription>) |