Enum DataChannel.ChannelState
Connection state of a data channel.
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public enum ChannelState : int
Fields
| Name | Description |
|---|---|
| Closed | The data channel reached end of life and can be destroyed. It cannot be re-connected; instead a new data channel must be created. |
| Closing | The data channel is being closed, and is not available anymore for data exchange. |
| Connecting | The data channel has just been created, and negotiating is underway to establish a link between the peers. The data channel cannot be used to send/receive yet. |
| Open | The data channel is open and ready to send and receive messages. |