Add the experimental native viewer (uuremote-viewer) (#36)

* Add the experimental native viewer (uuremote-viewer)

A Linux viewer/controller for UU Remote hosts, built separately with
--features native-viewer,viewer-sdl; the host build and behaviour are
unchanged.

- Cloud join by device and remote assistance by share ID + code (code
  via stdin only), WebRTC offer side, SDL desktop window with ffmpeg CLI
  H.264 decoding, Opus sound, keyboard/mouse, view-only mode, text
  clipboard on TEXT_DATA_CHANNEL.
- Tools: file browser/transfer (zero- and one-based download blocks),
  terminal and terminal session list, port mapping (127.0.0.1 only),
  reboot/shutdown; tools reuse the desktop peer while one is open.
- GTK launcher with device list and tool windows.
- CI builds and tests the viewer; release tarballs include it.

Logs carry field numbers, sizes and states only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: install the ffmpeg CLI for the viewer audio tests

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: VallierDev <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-10-17 15:41:20 +08:00
1 parent 6f1dd77ab5
commit 809ce1697d
40 files changed
+5333 -7

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"code":0,"msg":"fixture only","data":{"token":"synthetic-room-ticket","signaling_list":["ws://signaling.example.invalid"],"ws_connect_timeout_ms":1000,"report_token":"synthetic-report-ticket","report_url":"https://reports.example.invalid","report_server_address":"","streamer_retry_delta_ms":0,"international_connect":false}}
+1
View File
@@ -0,0 +1 @@
{"capture_type":1,"platform":3,"client_version":"4.42.0","width":1280,"height":720,"fps":30,"chroma":1,"decoders":[{"fps":30,"codec":1,"width":1280,"height":720,"chroma":1}],"display_modes":[[1280,720,30]],"displays":[{"id":1,"fps":30,"type":0,"hdr":0}],"codecs":[]}
+1
View File
@@ -0,0 +1 @@
{"capture_type":1,"platform":4,"client_version":"4.42.0","width":4112,"height":2580,"fps":60,"chroma":3,"decoders":[{"fps":120,"codec":2,"width":3840,"height":2160,"chroma":1},{"fps":120,"codec":2,"width":3840,"height":2160,"chroma":3},{"fps":120,"codec":1,"width":3840,"height":2160,"chroma":1},{"fps":120,"codec":1,"width":3840,"height":2160,"chroma":3}],"display_modes":[[4112,2580,120],[3840,2160,60]],"displays":[{"id":1,"fps":120,"type":0,"hdr":0}],"codecs":[{"video_codec":1,"chroma_sampling":1,"codec_impl":34,"bit_depth":8,"width":3840,"height":2160}]}