Class RTCDataChannel
Inheritance
RTCDataChannel
Syntax
public class RTCDataChannel : IDisposable
Properties
BufferedAmount
Declaration
public ulong BufferedAmount { get; }
Property Value
Id
Declaration
Property Value
Label
Declaration
public string Label { get; }
Property Value
MaxRetransmits
Declaration
public ushort MaxRetransmits { get; }
Property Value
MaxRetransmitTime
Declaration
public ushort MaxRetransmitTime { get; }
Property Value
Negotiated
Declaration
public bool Negotiated { get; }
Property Value
OnClose
Declaration
public DelegateOnClose OnClose { get; set; }
Property Value
OnMessage
Declaration
public DelegateOnMessage OnMessage { get; set; }
Property Value
OnOpen
Declaration
public DelegateOnOpen OnOpen { get; set; }
Property Value
Ordered
Declaration
public bool Ordered { get; }
Property Value
Protocol
Declaration
public string Protocol { get; }
Property Value
ReadyState
The property returns an enum of the RTCDataChannelState
which shows
the state of the channel.
Declaration
public RTCDataChannelState ReadyState { get; }
Property Value
See Also
Methods
Close()
Declaration
Dispose()
Declaration
Implements
Finalize()
Declaration
protected void Finalize()
Send(Byte[])
The method Sends data across the data channel to the remote peer.
Declaration
public void Send(byte[] msg)
Parameters
Type |
Name |
Description |
Byte[] |
msg |
|
Exceptions
See Also
Send(String)
The method Sends data across the data channel to the remote peer.
Declaration
public void Send(string msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
Exceptions
See Also
See Also