Parse Method (ArraySegment(Byte), Boolean)

Parses the specified array segment into data structures representing the components of the SDP.

Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)


Public Sub Parse ( _
    segment As ArraySegment(Of Byte), _
    strict As Boolean _
Dim instance As Sdp
Dim segment As ArraySegment(Of Byte)
Dim strict As Boolean

instance.Parse(segment, strict)
public void Parse(
    ArraySegment<byte> segment,
    bool strict


  • strict
    Type: System..::..Boolean
    true indicates the SDP parser should strictly enforce the SDP encoding rules.


Exception Condition

Thrown when the provided SDP is malformated. See exception message for details.


Strict parsing is generally recommended. It may necessary to disable strict parsing in order to communicate with a non-compliant device.

See Also


Sdp<(Of <(<'TGlobalDescription, TMediaDescription>)>)> Class

Sdp<(Of <(<'TGlobalDescription, TMediaDescription>)>)> Members

Parse Overload

Microsoft.Rtc.Signaling Namespace