major remote desktop upgrades + do opus. Hopefully all the tests pass 😭

This commit is contained in:
KingKDot
2026-07-17 04:28:23 -05:00
parent 779f86b259
commit 0219081682
35 changed files with 1304 additions and 91 deletions
+24 -8
View File
@@ -107,11 +107,13 @@ type ClientLogsResult struct {
}
type FrameHeader struct {
Monitor int `msgpack:"monitor"`
FPS int `msgpack:"fps"`
Format string `msgpack:"format"`
Backstage bool `msgpack:"backstage,omitempty"`
Webcam bool `msgpack:"webcam,omitempty"`
Monitor int `msgpack:"monitor"`
FPS int `msgpack:"fps"`
Format string `msgpack:"format"`
Width int `msgpack:"width,omitempty"`
Height int `msgpack:"height,omitempty"`
Backstage bool `msgpack:"backstage,omitempty"`
Webcam bool `msgpack:"webcam,omitempty"`
}
type Frame struct {
@@ -120,6 +122,20 @@ type Frame struct {
Data []byte `msgpack:"data"`
}
type DesktopStreamStats struct {
Type string `msgpack:"type"`
FPS int `msgpack:"fps"`
Format string `msgpack:"format"`
Bytes int `msgpack:"bytes"`
Width int `msgpack:"width"`
Height int `msgpack:"height"`
CaptureMs float64 `msgpack:"captureMs"`
EncodeMs float64 `msgpack:"encodeMs"`
SendMs float64 `msgpack:"sendMs"`
TotalMs float64 `msgpack:"totalMs"`
Transport string `msgpack:"transport"`
}
type FrameAck struct {
Type string `msgpack:"type"`
}
@@ -381,9 +397,9 @@ type BackstageInstalledApp struct {
}
type BackstageInstalledAppsResult struct {
Type string `msgpack:"type"`
Type string `msgpack:"type"`
Apps []BackstageInstalledApp `msgpack:"apps"`
Done bool `msgpack:"done"`
Done bool `msgpack:"done"`
}
type BackstageBrowserLaunchStatus struct {
@@ -416,7 +432,7 @@ type BackstageMonitorEntry struct {
}
type BackstageWindowListResult struct {
Type string `msgpack:"type"`
Type string `msgpack:"type"`
Windows []BackstageWindowEntry `msgpack:"windows"`
Monitors []BackstageMonitorEntry `msgpack:"monitors"`
}