Interface IDataChannel
Namespace: Unity.RenderStreaming
Syntax
public interface IDataChannel
Properties
Channel
Declaration
RTCDataChannel Channel { get; }
Property Value
| Type | Description |
|---|---|
| RTCDataChannel |
IsConnected
Declaration
bool IsConnected { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsLocal
Declaration
bool IsLocal { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Label
Declaration
string Label { get; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
SetChannel(String, RTCDataChannel)
Declaration
void SetChannel(string connectionId, RTCDataChannel channel)
Parameters
| Type | Name | Description |
|---|---|---|
| String | connectionId | |
| RTCDataChannel | channel |
SetChannel(SignalingEventData)
Declaration
void SetChannel(SignalingEventData data)
Parameters
| Type | Name | Description |
|---|---|---|
| SignalingEventData | data |