Documentation
¶
Index ¶
- type WHIPConn
- func (w *WHIPConn) AddICECandidate(candidate webrtc.ICECandidateInit) error
- func (w *WHIPConn) AddTrack(track webrtc.TrackLocal) (*webrtc.RTPTransceiver, error)
- func (w *WHIPConn) Answer(offer webrtc.SessionDescription) (*webrtc.SessionDescription, error)
- func (w *WHIPConn) Close()
- func (w *WHIPConn) CreateOffer() (*webrtc.SessionDescription, error)
- func (w *WHIPConn) HandleRtcpFb(rtpSender *webrtc.RTPSender)
- func (w *WHIPConn) SetRemoteDescription(desc webrtc.SessionDescription) error
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 (*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 (w *WHIPConn) Answer(offer webrtc.SessionDescription) (*webrtc.SessionDescription, error)
func (*WHIPConn) CreateOffer ¶
func (w *WHIPConn) CreateOffer() (*webrtc.SessionDescription, error)
func (*WHIPConn) HandleRtcpFb ¶
func (*WHIPConn) SetRemoteDescription ¶
func (w *WHIPConn) SetRemoteDescription(desc webrtc.SessionDescription) error
Click to show internal directories.
Click to hide internal directories.