Creates the object.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
New ( _
body
As
Byte(), _
strict
As
Boolean _
)
|
C# |
public
SdpDescription(
byte[]
body,
bool
strict
)
|
Visual C++ |
public:
SdpDescription(
array<
unsigned char>^
body,
bool
strict
)
|
JavaScript |
Microsoft.Rtc.Signaling.SdpDescription =
function(
body,
strict);
|
Parameters
-
body
- Type:
array<
Byte
>
[]
()
[]
The bytes containing the SDP to parse.
-
strict
- Type:
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.
See Also