Documentation ¶
Index ¶
- Constants
- type Handler
- func (h *Handler) ChaseMasterPlaylist(c echo.Context) error
- func (h *Handler) ChaseMediaPlaylist(c echo.Context) error
- func (h *Handler) ChaseSegment(c echo.Context) error
- func (h *Handler) LiveMasterPlaylist(c echo.Context) error
- func (h *Handler) LiveMediaPlaylist(c echo.Context) error
- func (h *Handler) LiveSegment(c echo.Context) error
- func (h *Handler) VodMasterPlaylist(c echo.Context) error
- func (h *Handler) VodMediaPlaylist(c echo.Context) error
- func (h *Handler) VodSegment(c echo.Context) error
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 ¶
func NewHandler ¶
func NewHandler(vodLoader load.VodLoader, liveLoader load.LiveLoader, chaseLoader load.ChaseLoader) Handler
func (*Handler) ChaseMasterPlaylist ¶
func (*Handler) ChaseMediaPlaylist ¶
func (*Handler) ChaseSegment ¶
func (*Handler) LiveMasterPlaylist ¶
func (*Handler) LiveMediaPlaylist ¶
func (*Handler) LiveSegment ¶
func (*Handler) VodMasterPlaylist ¶
func (*Handler) VodMediaPlaylist ¶
func (*Handler) VodSegment ¶
Click to show internal directories.
Click to hide internal directories.