Sdp<TGlobalDescription,TMediaDescription>.Parse Method
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.
Overloads
Parse(ArraySegment<Byte>, Boolean) |
Parses the supplied array segment 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>) |
Parses the supplied array segment into data structures representing the components of the SDP. |
Parse(Byte[]) |
Parses the supplied byte array 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.
public:
void Parse(ArraySegment<System::Byte> segment, bool strict);
public void Parse (ArraySegment<byte> segment, bool strict);
member this.Parse : ArraySegment<byte> * bool -> unit
Public Sub Parse (segment As ArraySegment(Of Byte), strict As Boolean)
Parameters
- segment
- ArraySegment<Byte>
The array segment containing the SDP to parse.
- strict
- Boolean
A value of true indicates the SDP parser should strictly enforce the SDP encoding rules. It is recommended that strict parsing is always used, however being more lenient may be useful there is a need to communicate with a noncompliant device.
Exceptions
Thrown when the provided SDP is malformated. See exception message for details.
Applies to
Parse(String)
Parses the supplied array segment into data structures representing the components of the SDP.
public:
void Parse(System::String ^ sdpText);
public void Parse (string sdpText);
member this.Parse : string -> unit
Public Sub Parse (sdpText As String)
Parameters
- sdpText
- String
The string containing the SDP to parse.
Exceptions
Thrown when the provided SDP is malformated. See exception message for details.
Thrown when null is passed as an argument.
Thrown when empty string is passed as an argument.
Applies to
Parse(ArraySegment<Byte>)
Parses the supplied array segment into data structures representing the components of the SDP.
public:
void Parse(ArraySegment<System::Byte> segment);
public void Parse (ArraySegment<byte> segment);
member this.Parse : ArraySegment<byte> -> unit
Public Sub Parse (segment As ArraySegment(Of Byte))
Parameters
- segment
- ArraySegment<Byte>
The array segment containing the SDP to parse.
Exceptions
Thrown when the provided SDP is malformated. See exception message for details.
Applies to
Parse(Byte[])
Parses the supplied byte array into data structures representing the components of the SDP.
public:
void Parse(cli::array <System::Byte> ^ bytes);
public void Parse (byte[] bytes);
member this.Parse : byte[] -> unit
Public Sub Parse (bytes As Byte())
Parameters
- bytes
- Byte[]
The bytes containing the SDP to parse.
Exceptions
Thrown when the provided SDP is malformated. See exception message for details.
Thrown when null is passed as an argument.