local

package
v0.0.0-...-a4649ec Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Peer

type Peer struct {
	*webrtc.PeerConnection
	// contains filtered or unexported fields
}

func NewPeer

func NewPeer(url string) (*Peer, error)

func (*Peer) Close

func (p *Peer) Close() (err error)

func (*Peer) HandleSignals

func (p *Peer) HandleSignals()

func (*Peer) Signal

func (p *Peer) Signal(name string, data any) error

Jump to

Keyboard shortcuts

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