tracker_transport

package
v0.0.0-20240423 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransportTracker

func NewTransportTracker(opts ...tracker_core.NewTrackerOption) (tracker_core.Tracker, error)

Types

type TransportTracker

type TransportTracker struct {
	// contains filtered or unexported fields
}

func (*TransportTracker) AddPeerConnection

func (tk *TransportTracker) AddPeerConnection(in *crypto_core.Packet) (answer webrtc.SessionDescription, err error)

func (*TransportTracker) Addr

func (tk *TransportTracker) Addr() addr.Addr

func (*TransportTracker) GetCandidates

func (tk *TransportTracker) GetCandidates(target addr.Addr, requests int, excludes []addr.Addr) (candidates []addr.Addr, err error)

func (*TransportTracker) NewTransport

func (tk *TransportTracker) NewTransport(in *crypto_core.Packet) (answer webrtc.SessionDescription, err error)

Jump to

Keyboard shortcuts

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