Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProviderGstreamer = "gstreamer" ProviderScreenCapture = "screencap" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Display ¶
A Display is an interface that can be implemented by different types of frame sources.
func GetDisplayProvider ¶
GetDisplayProvider returns the provider to use for the given RFB connection.
type Gstreamer ¶
type Gstreamer struct {
// contains filtered or unexported fields
}
Gstreamer implements a display provider using gstreamer to capture video.
type ScreenCapture ¶
type ScreenCapture struct {
// contains filtered or unexported fields
}
ScreenCapture implements a display provider that periodically captures the screen.
func (*ScreenCapture) Close ¶
func (s *ScreenCapture) Close() error
func (*ScreenCapture) PullFrame ¶
func (s *ScreenCapture) PullFrame() *image.RGBA
func (*ScreenCapture) Start ¶
func (s *ScreenCapture) Start(width, height int) error
Click to show internal directories.
Click to hide internal directories.