video latency should be less
This commit is contained in:
@@ -39,7 +39,7 @@ func NewServer(o *Options) (*Server, error) {
|
||||
options: o,
|
||||
audioHeader: make(chan *audio.WavHeader, 1),
|
||||
pcm: make(chan []byte),
|
||||
ppm: make(chan io.ReadCloser, int(o.Video.FPS)), // to be configured
|
||||
ppm: make(chan io.ReadCloser), // to be configured
|
||||
}
|
||||
|
||||
u, err := url.Parse(o.QmpAddress)
|
||||
@@ -130,7 +130,7 @@ func (s *Server) Run() error {
|
||||
case <-ticker.C:
|
||||
continue
|
||||
}
|
||||
//<-ticker.C
|
||||
<-ticker.C
|
||||
}
|
||||
}()
|
||||
|
||||
|
Reference in New Issue
Block a user