Skip to content

Commit

Permalink
Fix JPEG snapshot timeout (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnjooiopa authored Jun 20, 2024
1 parent 00db216 commit 8f4e3ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/core/custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ func (c *Connection) StartBitrateWorker() {
}

func (c *Connection) StopBitrateWorker() {
c.stopBitrateWorker <- struct{}{}
if c.stopBitrateWorker != nil {
c.stopBitrateWorker <- struct{}{}
}
}

0 comments on commit 8f4e3ae

Please sign in to comment.