Browse Source

comments

pull/137/head
gaoshen.gs 5 years ago
parent
commit
2b497758de
  1. 1
      protocol/rtmp/rtmp.go

1
protocol/rtmp/rtmp.go

@ -143,6 +143,7 @@ func (s *Server) handleConn(conn *core.Conn) error {
writer := s.getter.GetWriter(reader.Info()) writer := s.getter.GetWriter(reader.Info())
s.handler.HandleWriter(writer) s.handler.HandleWriter(writer)
} }
//FIXME: should flv should be configurable, not always on -gs
flvWriter := new(flv.FlvDvr) flvWriter := new(flv.FlvDvr)
s.handler.HandleWriter(flvWriter.GetWriter(reader.Info())) s.handler.HandleWriter(flvWriter.GetWriter(reader.Info()))
} else { } else {

Loading…
Cancel
Save