go fmt.
This commit is contained in:
@ -25,7 +25,7 @@ type StreamSinkManager interface {
|
||||
|
||||
ListenersCount() int
|
||||
Started() bool
|
||||
GetSampleChannel() (chan Sample)
|
||||
GetSampleChannel() chan Sample
|
||||
SetChangeFramerate(rate int16)
|
||||
SetAdaptiveFramerate(allow bool)
|
||||
}
|
||||
|
@ -116,6 +116,7 @@ func H264() RTPCodec {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Profile ID.
|
||||
func AV1() RTPCodec {
|
||||
return RTPCodec{
|
||||
|
@ -43,8 +43,8 @@ type DesktopErrorMessage struct {
|
||||
type DesktopManager interface {
|
||||
Start()
|
||||
Shutdown() error
|
||||
GetBeforeScreenSizeChangeChannel() (chan bool)
|
||||
GetAfterScreenSizeChangeChannel() (chan int16)
|
||||
GetBeforeScreenSizeChangeChannel() chan bool
|
||||
GetAfterScreenSizeChangeChannel() chan int16
|
||||
|
||||
// clipboard
|
||||
ReadClipboard() string
|
||||
@ -72,9 +72,9 @@ type DesktopManager interface {
|
||||
GetScreenshotImage() *image.RGBA
|
||||
|
||||
// xevent
|
||||
GetCursorChangedChannel() (chan uint64)
|
||||
GetClipboardUpdatedChannel() (chan bool)
|
||||
GetFileChooserDialogOpenedChannel() (chan bool)
|
||||
GetFileChooserDialogClosedChannel() (chan bool)
|
||||
GetEventErrorChannel() (chan DesktopErrorMessage)
|
||||
GetCursorChangedChannel() chan uint64
|
||||
GetClipboardUpdatedChannel() chan bool
|
||||
GetFileChooserDialogOpenedChannel() chan bool
|
||||
GetFileChooserDialogClosedChannel() chan bool
|
||||
GetEventErrorChannel() chan DesktopErrorMessage
|
||||
}
|
||||
|
@ -8,9 +8,9 @@ type Member struct {
|
||||
}
|
||||
|
||||
type SessionInformation struct {
|
||||
Type string
|
||||
Id string
|
||||
Session Session
|
||||
Type string
|
||||
Id string
|
||||
Session Session
|
||||
}
|
||||
|
||||
type HostInformation struct {
|
||||
@ -57,6 +57,6 @@ type SessionManager interface {
|
||||
Clear() error
|
||||
Broadcast(v interface{}, exclude interface{}) error
|
||||
AdminBroadcast(v interface{}, exclude interface{}) error
|
||||
GetSessionChannel() (chan SessionInformation)
|
||||
GetHostChannel() (chan HostInformation)
|
||||
GetSessionChannel() chan SessionInformation
|
||||
GetHostChannel() chan HostInformation
|
||||
}
|
||||
|
Reference in New Issue
Block a user