webrtc

package
v0.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package webrtc contains the webmesh WebRTC service.

Package webrtc contains the webmesh WebRTC service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	v1.UnimplementedWebRTCServer
	// contains filtered or unexported fields
}

Server is the webmesh WebRTC service.

func NewServer

func NewServer(store meshdb.Store, proxyCreds []grpc.DialOption, stunServers []string, insecure bool) *Server

NewServer returns a new Server.

func (*Server) StartDataChannel

func (s *Server) StartDataChannel(stream v1.WebRTC_StartDataChannelServer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL