From ab137a1b20cafd6fddddd39796570f0af9bbc4e2 Mon Sep 17 00:00:00 2001 From: VallierDev <24893073+VallierDev@users.noreply.github.com> Date: Wed, 28 Oct 2026 17:27:17 +0800 Subject: [PATCH] Release v0.2.36 Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/release-notes/v0.2.36.md | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 docs/release-notes/v0.2.36.md diff --git a/Cargo.lock b/Cargo.lock index 0df4acb..2d89d92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2741,7 +2741,7 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uu-remote-linux" -version = "0.2.35" +version = "0.2.36" dependencies = [ "async-trait", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index 9137a48..6b702ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uu-remote-linux" -version = "0.2.35" +version = "0.2.36" edition = "2021" default-run = "uuremote-server" authors = ["uu-remote-linux contributors"] diff --git a/docs/release-notes/v0.2.36.md b/docs/release-notes/v0.2.36.md new file mode 100644 index 0000000..e4ac399 --- /dev/null +++ b/docs/release-notes/v0.2.36.md @@ -0,0 +1,15 @@ +修复 X11 共享内存被拒时主机直接退出,以及 Linux 控制端加入已有会话时可能永久黑屏。/ Fixes the host exiting when X11 refuses shared memory, and a possible black screen when the Linux viewer joins a host that already streams to another session. + +### 修复 / Fixed +- **X11 MIT-SHM 被拒时直接退出**:X 服务器无法访问本程序的共享内存段时(例如 X 服务器在另一个容器里),`XShmAttach` 返回 BadAccess,Xlib 默认错误处理直接结束了进程,原有的 `XGetImage` 退路没有机会执行。现在捕获该错误并改用 `XGetImage` 抓屏。 + When `XShmAttach` is refused (BadAccess, e.g. an X server in another container), the host now falls back to `XGetImage` instead of being terminated by Xlib's default error handler. +- **控制端加入已有会话时黑屏(#124,感谢 @shao-zhijie)**:Linux 控制端过去只在丢包或解码出错时请求关键帧;加入一条已在推流的干净 H.264 流时永远等不到 IDR。现在首帧显示前每 30 个访问单元请求一次关键帧(PLI),300 个仍无画面时日志给出提示。 + The Linux viewer now requests key frames (PLI) every 30 access units until the first frame is shown, and logs a warning after 300. + +### 验证范围 / Validation +单元测试与 CI。共享内存退路尚待在报告环境实机确认;#124 中官方 Mac 主机是否响应 PLI 尚未实测。 + +### 下载 / Download +`uu-remote-linux_0.2.36_.deb`,或 `uu-remote-linux-v0.2.36--linux.tar.gz`(解压后运行 `./install.sh`),或 `docker pull ghcr.io/vallierdev/uu-remote-linux:v0.2.36`(x86_64)。 + +**非官方项目,与网易无关。** / **Unofficial, not affiliated with NetEase.**