Add image channel buffer

This commit is contained in:
giongto35 2019-04-04 03:22:13 +08:00
parent 84cae4d67b
commit 173e64cd01

View file

@ -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()