Sdp<TGlobalDescription, TMediaDescription>.Parse Method (ArraySegment<Byte>)
Parses the supplied array segment into data structures representing the components of the SDP.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub Parse ( _
segment As ArraySegment(Of Byte) _
)
'Usage
Dim instance As Sdp
Dim segment As ArraySegment(Of Byte)
instance.Parse(segment)
public void Parse(
ArraySegment<byte> segment
)
Parameters
- segment
Type: System.ArraySegment<Byte>
The array segment containing the SDP to parse.
Exceptions
Exception | Condition |
---|---|
MessageParsingException | Thrown when the provided SDP is malformated. See exception message for details. |
See Also
Reference
Sdp<TGlobalDescription, TMediaDescription> Class