Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetOnConnectionState ¶
func SetOnConnectionState(f OnConnectionState)
func SetOnCreateDataChannel ¶
func SetOnCreateDataChannel(f OnCreateDataChannel)
Types ¶
type Connection ¶
type Connection struct { IsServer interface{} WebRTCConfig webrtc.Configuration DataChanelConfig webrtc.DataChannelInit PeerConnection *webrtc.PeerConnection DataChanel *webrtc.DataChannel ID *uint16 ApplyString string ApproveString string OnCreateDataChannel OnConnectionState OnMessage OnOpen OnClose OnError }
type OnBufferedAmountLow ¶
type OnBufferedAmountLow func(uint16)
type OnConnectionState ¶
type OnConnectionState func(uint16)
type OnCreateDataChannel ¶
type OnCreateDataChannel func(uint16)
Click to show internal directories.
Click to hide internal directories.