Class SdpMessage
SDP message passed between the local and remote peers via the user's signaling solution.
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public class SdpMessage : object
Fields
| Improve this Doc View SourceContent
The raw message content.
Declaration
public string Content
Field Value
Type | Description |
---|---|
String |
Type
The message type.
Declaration
public SdpMessageType Type
Field Value
Type | Description |
---|---|
SdpMessageType |
Methods
| Improve this Doc View SourceStringToType(String)
Convert an internal string representation of an SDP message type back to its enumerated value.
Declaration
public static SdpMessageType StringToType(string type)
Parameters
Type | Name | Description |
---|---|---|
String | type | The internal string representation of the SDP message |
Returns
Type | Description |
---|---|
SdpMessageType | The SDP message type associated with the string representation |
TypeToString(SdpMessageType)
Convert an SDP message type to its internal string representation.
Declaration
public static string TypeToString(SdpMessageType type)
Parameters
Type | Name | Description |
---|---|---|
SdpMessageType | type | The SDP message type to convert |
Returns
Type | Description |
---|---|
String | The string representation of the SDP message type |