LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.
C cdebiandesktop-environmentebpffirewalllandlocklinuxlinux-distributionopen-sourceprivacyquickjsraspberry-pi-5reactsecuritywaylandwayland-compositor
Remote desktop: log the video's statistics (rate, loss, NACK, PLI) when a viewer disconnects, not only when the video fails
Federico Pereirada71862f22b8
diff --git a/server/src/remote/conn.c b/server/src/remote/conn.cindex 8de1d4d..1f90400 100644--- a/server/src/remote/conn.c+++ b/server/src/remote/conn.c@@ -1256,7 +1256,11 @@ static void handle_ws(const RsReq *r, int logged, const char *user, uid_t uid) {if (drop_root(&me, parent)) { sd_log("could not drop privileges"); _exit(1); }sd_log("connected to %s's session", name);bridge(&me);- sd_log("disconnected");+ if (rtc) { /* how the video went, for the log (docs/REMOTE.md) */+ char st[160];+ rtc_stats(rtc, st, sizeof st);+ sd_log("disconnected (video: %s)", st);+ } else sd_log("disconnected");_exit(0);}/* the root side keeps nothing of the connection: it only listens for "the session was locked" */