Interface IDataChannel
Namespace: Unity.RenderStreaming
Syntax
public interface IDataChannel
Properties
Channel
Declaration
RTCDataChannel Channel { get; }
Property Value
Type | Description |
---|---|
RTCDataChannel |
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 |