Repository navigation
Kaibo 开播 1.0.3
Kaibo 开播 1.0.3:重做人脸认证流程(不再反复弹二维码)、把開播請求做得更像真實的 B 站客戶端、修掉一批會影響資料與隱私的問題,並順手整理了面板。
A face-verification workflow rewrite (no more re-prompting QR codes), a more client-like start-live request, data/privacy fixes, and a dock tidy-up.
下载哪个文件 / Which file
| 系统 / System | 文件 / File |
|---|---|
| Windows(推荐 / recommended) | obs-kaibo-1.0.3-windows-x64-installer.exe |
| Windows 便携版 OBS / manual | obs-kaibo-1.0.3-windows-x64.zip |
| macOS(Apple Silicon + Intel) | obs-kaibo-1.0.3-macos-universal.pkg |
| macOS(仅 Intel / Intel only) | obs-kaibo-1.0.3-macos-x86_64.pkg |
| Ubuntu 24.04 / 22.04 | obs-kaibo-1.0.3-x86_64-ubuntu-24.04.deb / …-22.04.deb |
| Flatpak 版 OBS | obs-kaibo-1.0.3-flatpak-x86_64.flatpak |
Windows 安装程序会原地升级 1.0.x,设置和登录保留;安装前请先关闭 OBS。
The Windows installer upgrades 1.0.x in place and keeps your settings and sign-in; close OBS first.
人脸认证 / Face verification
- 不会每次都弹二维码了:扫码完成后点「已完成认证,重试开播」,Kaibo 会自己按 1/2/4/8/8 秒重试开播,不再立刻弹一张新二维码;认证提示也从会冻结 OBS 的模态对话框改成面板内的卡片。
No more instant re-prompt: after scanning, Kaibo retries the go-live by itself (1/2/4/8/8 s) and the prompt is an in-dock card instead of an application-modal dialog. - 开播请求更像真实客户端:会取一次并保存 B 站分配的装置标识(buvid3/buvid4),签名时间戳改用毫秒,签名接口不再同时自称网页直播中心,并保存服务器下发的 Set-Cookie。
The start-live request now keeps Bilibili's device identity, signs with millisecond timestamps, stops mixing web-live-centre headers into app-key calls, and stores Set-Cookie responses. - 需要说清楚的部分:B 站官方 2022 年起上线的「开播前人脸认证」是按场次、按分区分批开放的关卡,官方没有公布任何「认证一次、N 天免验」的规则。对部分账号/分区,每场都要认证是 B 站政策,任何第三方客户端都无法跳过;这次修的是「请求身份」与「重复扫码」这两件我们能控制的事。建议用官方直播姬在同一台电脑、同一分区对比一次。
Bilibili's pre-broadcast identity check is a per-broadcast gate rolled out per area; there is no published per-day/per-device exemption. For some accounts/areas it is intended policy that no third-party client can bypass. This release fixes the request identity and the repeated-scan loop — the two things we control.
修复 / Fixed
- JSON 响应缺少
code字段不再被当成成功——之前可能误判未登录而清掉登录凭证,或把开着的直播间当成已关闭;HTTP 412 风控响应现在保留 B 站自己的错误码与提示。
A response without acodefield is no longer treated as success (it could sign you out or report a live room as closed); HTTP 412 risk-control answers keep Bilibili's own code and message. - 推流设置备份改为加密保存:被替换的 OBS 推流设置(可能包含其他平台的推流码)现在存进
service-backup.bin(Windows DPAPI、其他系统0600),不再明文写进settings.json;旧版遗留的明文备份会在第一次启动时自动迁移并清掉。
The replaced OBS stream service (which can contain another platform's stream key) is now sealed inservice-backup.bininstead of plaintextsettings.json; 1.0.2's plaintext backup is migrated on first start. - 写入改为先落盘再替换(
FlushFileBuffers/fsync),断电不会留下不完整的设置或凭证文件;临时文件在 macOS/Linux 上以0600创建。
Writes are flushed to disk before the atomic rename; temp files are created0600on macOS/Linux. - 服务备份不再跨会话失效:每次開播都重新捕获被替换的服务,崩溃遗留的旧备份不会再覆盖你后来新配置的服务;直播中切换「关播后恢复」不再丢备份;退出 OBS 时也会恢复原设置。
The captured service is recaptured on every go-live, kept when the option is toggled during a broadcast, and restored when OBS exits mid-broadcast. - Windows DPAPI 失败时不再静默以明文保存登录凭证;macOS/Linux 凭证临时文件的权限窗口修掉了。
- 装机程序:WMI 不可用时改用
tasklist判断 OBS 是否运行,避免覆盖已加载的 DLL。
The installer falls back totasklistwhen WMI is unavailable, so it will not overwrite a DLL OBS has loaded. - 计数进位(
1000K→1M、10000万→1亿)、不可能日期解析、jsonInt溢出等小问题一并修复。 - 「删除所有 Kaibo 数据」在直播中会明确警告;面板注册失败不再泄漏后台线程;退出登录不再残留上一个账号的头像。
界面 / Dock
- 開播/關播/同步中主按钮真正禁用(之前可点但没反应);同步中状态显示「正在同步…」。
- 「结束直播」「删除数据」确认框不再把危险按钮设为 Enter 默认项。
- 280px 窄面板:长路径换行、长名称提示、未选分区用淡色、公告超长计数变红、二维码支持键盘与读屏。
- 控件尺寸改由
tokens.json驱动;简体中文 / 繁體中文 / English 文案同步。
已验证 / Verified
- 单元测试:26 tests / 316 checks,Windows / macOS / Ubuntu 三平台 CI 全部通过(新增:设备标识、Set-Cookie 吸收、毫秒时间戳与请求身份、60024 字段回退、人脸重试节奏、缺
code的响应、HTTP 412、计数边界、不可能日期、0600临时文件、设置里绝不出现推流码)。 - 全部平台 CI 编译打包通过(Windows 安装程序、macOS pkg、Ubuntu deb、Flatpak),格式检查与语言文件检查通过。
- 没有在真实 OBS 与真实 B 站账号下实测开播/人脸认证流程——这部分需要你或用户实机验证;遇到问题请到 Issues 反馈,附上日志中
[obs-kaibo]开头的行。 - 完整变更见 CHANGELOG。
Checksums
obs-kaibo-1.0.3-flatpak-x86_64.flatpak: c9664d39b98c0fc53e4b936fd5af7ca0b9d30407beedfab6872e5a85c7bd605d
obs-kaibo-1.0.3-macos-universal.pkg: 09b3434edcb2b47b7d543f2dffc52e76aa660c5e359029582741ee1dd312080e
obs-kaibo-1.0.3-macos-x86_64.pkg: 6ffceea68915dfeca213b8f2bec892f58216e49730e7a5967edc5a267c33d2b1
obs-kaibo-1.0.3-source.tar.xz: be5ca0257b60bf7a6c5479afb8132e6ccf4d9e74518a58277770f885f473a7d1
obs-kaibo-1.0.3-windows-x64-installer.exe: a424625e99b6323ca8f495655454adfdfca7f912c98b8784b0d6db7ce002a91b
obs-kaibo-1.0.3-windows-x64.zip: c2818ac94ca5c69df4603f4c26e86e6aae789354d2aabd06ffb9f5c6049c0a6e
obs-kaibo-1.0.3-x86_64-ubuntu-22.04-dbgsym.ddeb: 95b9a6efa2dadd53b08655ac102bed2b057ddf2225790133b3257abeee5830a9
obs-kaibo-1.0.3-x86_64-ubuntu-22.04.deb: 925c38612d01a49ca8fb010d1021fc04348d36dbb311bcb78f1f265ac28b334d
obs-kaibo-1.0.3-x86_64-ubuntu-24.04-dbgsym.ddeb: 8e4b6b79d0e850ea9ce94d513fd00525db6ff8f7271d1dba00e9a6388b103420
obs-kaibo-1.0.3-x86_64-ubuntu-24.04.deb: 657c8fc0f71f8cfbbfaf1baec81f4c0557e7bc7f317c726de2f68f39463f06a1
