mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
change screen size only on desktop.
This commit is contained in:
@ -19,8 +19,6 @@ type CaptureManager interface {
|
||||
StopStream()
|
||||
Streaming() bool
|
||||
|
||||
ChangeResolution(width int, height int, rate int) error
|
||||
|
||||
// broacast
|
||||
StartBroadcast(url string)
|
||||
StopBroadcast()
|
||||
|
@ -15,6 +15,7 @@ type ScreenConfiguration struct {
|
||||
type DesktopManager interface {
|
||||
Start()
|
||||
Shutdown() error
|
||||
OnScreenSizeChange(listener func(width int, height int, rate int))
|
||||
|
||||
// xorg
|
||||
ChangeScreenSize(width int, height int, rate int) error
|
||||
|
Reference in New Issue
Block a user