add screencast to capture.

This commit is contained in:
Miroslav Šedivý
2021-01-22 18:13:32 +01:00
parent 407853eeb1
commit 3161870906
7 changed files with 189 additions and 7 deletions

View File

@ -12,11 +12,19 @@ type BroadcastManager interface {
Url() string
}
type ScreencastManager interface {
Start() error
Stop()
Enabled() bool
Image() []byte
}
type CaptureManager interface {
Start()
Shutdown() error
Broadcast() BroadcastManager
Screencast() ScreencastManager
VideoCodec() string
AudioCodec() string