Documentation ¶
Overview ¶
Package streamer contains media segments streaming app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CORSConfig ¶
type CORSConfig struct {
AllowOrigin string
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a streaming service. It implements fasthttp handler that serves MPEG-DASH segments. Segments are taken from media store. Every request is also checked for valid "watch"-session.
func (*Service) Handler ¶
func (svc *Service) Handler() func(*fasthttp.RequestCtx)
Click to show internal directories.
Click to hide internal directories.