client

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

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

func NewTransport

func NewTransport(config *webrtc.Configuration) (*Transport, error)

func (*Transport) HandleOffer

func (t *Transport) HandleOffer(ctx context.Context, id string, o sdp.Offer) (sdp.Answer, error)

func (*Transport) PeerAddresses

func (t *Transport) PeerAddresses() []string

func (*Transport) RoundTrip

func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)

func (*Transport) WaitForConnectionEstablished

func (t *Transport) WaitForConnectionEstablished(ctx context.Context) error

Jump to

Keyboard shortcuts

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