// OnRequest is called by hlsserver.Server.
OnRequest is called by hlsserver.Server.
// OnRequest is called by hlsserver . Server .
func (c *Converter) OnRequest(req Request) {
	select {
	case c.request <- req:
	case <-c.ctx.Done():
		req.W.WriteHeader(http.StatusNotFound)
		req.Res <- nil
	}
}
func ( c * Converter ) OnRequest ( req Request ) { select { case c . request <- req : case <- c . ctx . Done ( ) : req . W . WriteHeader ( http . StatusNotFound ) req . Res <- nil } }
OnRequest is called by hlsserver.Server.
OnRequest is called by hlsserver . Server .