Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDataChannelClosed = errors.New("DataChannel state is closed")
Functions ¶
func Wait ¶
func Wait(dc *webrtc.DataChannel) (err error)
Types ¶
type Signal ¶
type Signal webrtc.SessionDescription
func CreateOffer ¶
func CreateOffer(pc *webrtc.PeerConnection) (sdp Signal, err error)
func HandleConnect ¶
func HandleConnect(pc *webrtc.PeerConnection, offer Signal) (roffer Signal, err error)
Click to show internal directories.
Click to hide internal directories.