Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MediaManager ¶
type MediaManager struct {
// contains filtered or unexported fields
}
func NewMediaManager ¶
func NewMediaManager(base string) MediaManager
func (MediaManager) ServeM3u8 ¶
func (m MediaManager) ServeM3u8(w http.ResponseWriter, r *http.Request, id string)
func (MediaManager) ServeTs ¶
func (m MediaManager) ServeTs(w http.ResponseWriter, r *http.Request, id string, seg string)
func (MediaManager) ServerMp3 ¶
func (m MediaManager) ServerMp3(w http.ResponseWriter, r *http.Request, id string)
type StreamAPI ¶
type StreamAPI struct {
// contains filtered or unexported fields
}
func NewStreamAPI ¶
func NewStreamAPI(m MediaManager) StreamAPI
Click to show internal directories.
Click to hide internal directories.