Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function GetBytes As Byte()
'Usage
Dim instance As Sdp
Dim returnValue As Byte()
returnValue = instance.GetBytes()
public byte[] GetBytes()
Return Value
Type: []
Returns SDP as a new instance of a byte array.
Exceptions
| Exception | Condition |
|---|---|
| MessageParsingException | Thrown when the SDP cannot be composed in its current state. |
See Also
Reference
Sdp<TGlobalDescription, TMediaDescription> Class