mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-25 11:03:56 +00:00
Add image channel buffer
This commit is contained in:
parent
84cae4d67b
commit
173e64cd01
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -27,7 +27,7 @@ func startGame(path string, imageChannel chan *image.RGBA, inputChannel chan int
|
|||
}
|
||||
|
||||
func main() {
|
||||
imageChannel := make(chan *image.RGBA, 2)
|
||||
imageChannel := make(chan *image.RGBA, 100)
|
||||
fmt.Println("http://localhost:8000")
|
||||
webRTC = webrtc.NewWebRTC()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue