cloud-game/encoder/type.go
giongto35 4fe4bad01a Add H264 codec (#71)
* Update gomod

* Add h264 codec + interface

* Add config to use H264 or Vp8
2019-08-23 03:41:16 +08:00

9 lines
130 B
Go

package encoder
import "image"
type Encoder interface {
GetInputChan() chan *image.RGBA
GetOutputChan() chan []byte
Stop()
}