ingest

package
v0.0.0-...-d6eaca8 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

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) Cleanup

func (m *Manager) Cleanup()

func (*Manager) Initialize

func (m *Manager) Initialize() error

func (*Manager) OfferSDP

func (m *Manager) OfferSDP(name, remoteIP string, sendCandidate playrtc.CandidateSender) (*playrtc.Sender, error)

func (*Manager) PopulateLive

func (m *Manager) PopulateLive(infos []*model.ChannelInfo)

func (*Manager) Publish

func (m *Manager) Publish(auth model.ChannelAuth, kind, remote string, src av.Demuxer) error

func (*Manager) ServeTS

func (m *Manager) ServeTS(rw http.ResponseWriter, req *http.Request, name string) error

func (*Manager) ServeWeb

func (m *Manager) ServeWeb(rw http.ResponseWriter, req *http.Request, name string) error

type PublishEvent

type PublishEvent func(auth model.ChannelAuth, live bool, thumb grabber.Result)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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