handle

package
v0.0.0-...-2456457 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MimeMpegUrl = "application/x-mpegURL"
	MimeMpeg2Ts = "video/MP2T"
	MimeMP4     = "video/mp4"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	VodLoader   load.Loader
	LiveLoader  load.Loader
	ChaseLoader load.Loader
}

func NewHandler

func NewHandler(vodLoader load.VodLoader, liveLoader load.LiveLoader, chaseLoader load.ChaseLoader) Handler

func (*Handler) ChaseMasterPlaylist

func (h *Handler) ChaseMasterPlaylist(c echo.Context) error

func (*Handler) ChaseMediaPlaylist

func (h *Handler) ChaseMediaPlaylist(c echo.Context) error

func (*Handler) ChaseSegment

func (h *Handler) ChaseSegment(c echo.Context) error

func (*Handler) LiveMasterPlaylist

func (h *Handler) LiveMasterPlaylist(c echo.Context) error

func (*Handler) LiveMediaPlaylist

func (h *Handler) LiveMediaPlaylist(c echo.Context) error

func (*Handler) LiveSegment

func (h *Handler) LiveSegment(c echo.Context) error

func (*Handler) VodMasterPlaylist

func (h *Handler) VodMasterPlaylist(c echo.Context) error

func (*Handler) VodMediaPlaylist

func (h *Handler) VodMediaPlaylist(c echo.Context) error

func (*Handler) VodSegment

func (h *Handler) VodSegment(c echo.Context) error

Jump to

Keyboard shortcuts

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