Documentation
¶
Index ¶
- Variables
- type Manager
- func (m *Manager) Cleanup()
- func (m *Manager) Initialize() error
- func (m *Manager) OfferSDP(name, remoteIP string, sendCandidate playrtc.CandidateSender) (*playrtc.Sender, error)
- func (m *Manager) PopulateLive(infos []*model.ChannelInfo)
- func (m *Manager) Publish(auth model.ChannelAuth, kind, remote string, src av.Demuxer) error
- func (m *Manager) ServeTS(rw http.ResponseWriter, req *http.Request, name string) error
- func (m *Manager) ServeWeb(rw http.ResponseWriter, req *http.Request, name string) error
- type PublishEvent
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoChannel = errors.New("channel not found")
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { OpusBitrate int PublishEvent PublishEvent FTL ftl.Server WorkDir string UseDASH bool RTCHost string // contains filtered or unexported fields }
func (*Manager) Initialize ¶
func (*Manager) PopulateLive ¶
func (m *Manager) PopulateLive(infos []*model.ChannelInfo)
type PublishEvent ¶
type PublishEvent func(auth model.ChannelAuth, live bool, thumb grabber.Result)
Click to show internal directories.
Click to hide internal directories.