Documentation
¶
Index ¶
- type NACKTracker
- type PLITracker
- type WebRTC
- func (w *WebRTC) Close() time.Duration
- func (w *WebRTC) Init() (webrtc.SessionDescription, error)
- func (w *WebRTC) RequestKeyframe()
- func (w WebRTC) RequestKeyframeForSSRC(ssrc uint32)
- func (w *WebRTC) SetConnectionStateCallback(fn func(state utils.ConnectionState))
- func (w *WebRTC) SetFlowCallback(fn func(isFlowing bool, videoTimestamp time.Duration, closed bool))
- func (w *WebRTC) SetSDPOffer(offer webrtc.SessionDescription)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NACKTracker ¶
type NACKTracker struct {
// contains filtered or unexported fields
}
type PLITracker ¶
type PLITracker struct {
// contains filtered or unexported fields
}
type WebRTC ¶
type WebRTC struct {
// contains filtered or unexported fields
}
func (*WebRTC) RequestKeyframe ¶
func (w *WebRTC) RequestKeyframe()
func (WebRTC) RequestKeyframeForSSRC ¶
func (*WebRTC) SetConnectionStateCallback ¶
func (w *WebRTC) SetConnectionStateCallback(fn func(state utils.ConnectionState))
func (*WebRTC) SetFlowCallback ¶
func (*WebRTC) SetSDPOffer ¶
func (w *WebRTC) SetSDPOffer(offer webrtc.SessionDescription)
Click to show internal directories.
Click to hide internal directories.