web

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: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Secure        bool     // set secure cookies
	BaseURL       string   // base URL
	HLSBase       *url.URL // base URL for web playback
	AdvertiseRTMP string   // base URL to advertise for RTMP ingest
	AdvertiseLive *url.URL // base URL to advertise for direct HTTP streams

	Channels ingest.Manager
	// contains filtered or unexported fields
}

func (*Server) Handler

func (s *Server) Handler() http.Handler

func (*Server) Initialize

func (s *Server) Initialize() error

func (*Server) PublishEvent

func (s *Server) PublishEvent(auth model.ChannelAuth, live bool, thumb grabber.Result)

func (*Server) SetOauth

func (s *Server) SetOauth(clientID, clientSecret string)

func (*Server) SetSecret

func (s *Server) SetSecret(secret string)

func (*Server) SetWebhook

func (s *Server) SetWebhook(u string) error

Jump to

Keyboard shortcuts

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