Documentation
¶
Overview ¶
Package webrtc contains the webmesh WebRTC service.
Package webrtc contains the webmesh WebRTC service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSTUNServers = []string{
"stun:stun.l.google.com:19302",
}
DefaultSTUNServers are the default STUN servers to use.
Functions ¶
This section is empty.
Types ¶
type Options ¶ added in v0.3.0
type Options struct {
ID types.NodeID
Wireguard wireguard.Interface
NodeDialer transport.NodeDialer
RBAC rbac.Evaluator
STUNServers []string
}
Options are options for the WebRTC service.
type Server ¶
type Server struct {
v1.UnimplementedWebRTCServer
// contains filtered or unexported fields
}
Server is the webmesh WebRTC service.
func (*Server) StartDataChannel ¶
func (s *Server) StartDataChannel(stream v1.WebRTC_StartDataChannelServer) error
Click to show internal directories.
Click to hide internal directories.