mirror of
https://github.com/amitbet/vnc2video.git
synced 2025-04-28 10:33:24 +00:00
20 lines
520 B
Go
20 lines
520 B
Go
package vnc2webm
|
|
|
|
// DesktopSizePseudoEncoding represents a desktop size message from the server.
|
|
type DesktopSizePseudoEncoding struct{}
|
|
|
|
func (*DesktopSizePseudoEncoding) Supported(Conn) bool {
|
|
return true
|
|
}
|
|
|
|
func (*DesktopSizePseudoEncoding) Type() EncodingType { return EncDesktopSizePseudo }
|
|
|
|
// Read implements the Encoding interface.
|
|
func (*DesktopSizePseudoEncoding) Read(c Conn, rect *Rectangle) error {
|
|
return nil
|
|
}
|
|
|
|
func (enc *DesktopSizePseudoEncoding) Write(c Conn, rect *Rectangle) error {
|
|
return nil
|
|
}
|