force users to pick capable display range.

This commit is contained in:
KingKDot
2026-07-13 09:34:16 -05:00
parent 1bc6364055
commit 447efa5192
16 changed files with 651 additions and 66 deletions
@@ -69,6 +69,24 @@ type CommandResult struct {
Message string `msgpack:"message,omitempty"`
}
type DesktopEncoderProfile struct {
MaxHeight int `msgpack:"maxHeight"`
Width int `msgpack:"width"`
Height int `msgpack:"height"`
FPS int `msgpack:"fps"`
Label string `msgpack:"label"`
Providers []string `msgpack:"providers"`
}
type DesktopEncoderCapabilities struct {
Type string `msgpack:"type"`
CommandID string `msgpack:"commandId,omitempty"`
Probed bool `msgpack:"probed"`
Display int `msgpack:"display"`
Profiles []DesktopEncoderProfile `msgpack:"profiles"`
Detail string `msgpack:"detail,omitempty"`
}
type ClientLogEntry struct {
Seq uint64 `msgpack:"seq" json:"seq"`
At int64 `msgpack:"at" json:"at"`