mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-18 00:55:40 +00:00
Increase video channel buffer size to 3
In case if an encoder slower than 16ms.
This commit is contained in:
parent
684983e714
commit
f2cb7ebc7a
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ func (g *GstMediaPipe) initVideo() (err error) {
|
|||
|
||||
p := g.v
|
||||
fmt := g.vidFmt
|
||||
g.videoCh = make(chan videoJob, 1)
|
||||
g.videoCh = make(chan videoJob, 3)
|
||||
g.videoDone = make(chan struct{})
|
||||
go g.videoWorker(p, fmt, g.videoCh, g.videoDone)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue