client

package
v0.0.0-...-0086753 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 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 WHIPConn

type WHIPConn struct {
	OnTrack func(pc *webrtc.PeerConnection, track *webrtc.TrackRemote, receiver *webrtc.RTPReceiver)
	// contains filtered or unexported fields
}

func NewWHIPConn

func NewWHIPConn() (*WHIPConn, error)

func (*WHIPConn) AddICECandidate

func (w *WHIPConn) AddICECandidate(candidate webrtc.ICECandidateInit) error

func (*WHIPConn) AddTrack

func (w *WHIPConn) AddTrack(track webrtc.TrackLocal) (*webrtc.RTPTransceiver, error)

func (*WHIPConn) Answer

func (*WHIPConn) Close

func (w *WHIPConn) Close()

func (*WHIPConn) CreateOffer

func (w *WHIPConn) CreateOffer() (*webrtc.SessionDescription, error)

func (*WHIPConn) HandleRtcpFb

func (w *WHIPConn) HandleRtcpFb(rtpSender *webrtc.RTPSender)

func (*WHIPConn) SetRemoteDescription

func (w *WHIPConn) SetRemoteDescription(desc webrtc.SessionDescription) error

Jump to

Keyboard shortcuts

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