Files
ForgQi 3655679a58 Refactor live downloader architecture
Migrate the server-side live downloading to the new biliup::downloader::live API and simplify the actor model. Key changes:

- Introduce a new server/core/live module that builds LiveRequest/LiveOptions/LiveCredentials, maps runtimes, and creates danmaku clients.
- Replace legacy plugin/DownloadBase actor flow with LivePlugin-based workflows and a start_download_workflow entrypoint; monitor now acquires a Semaphore permit before starting a download to enforce concurrency.
- Remove the old plugin module and per-platform plugin plumbing; many platform implementations were moved/renamed under crates/biliup/src/downloader/live.
- Adjust DownloadManager, Monitor, and common download/upload code to use LivePlugin, LiveStream and related types; pass uploader channel and download slot semaphore into Monitor.
- Add download_stream helper to support direct FLV/HLS downloads via StatelessClient, and extend Streamlink downloader to support Niconico credentials/options.
- Update usage of context/streamer info and danmaku initialization to the new LiveStream-based model.
- Bump workspace version to 1.2.0 (Cargo.toml) and related package versions.

This refactor centralizes live logic on the shared biliup downloader live API, simplifies concurrency control, and removes the previous actor-based plugin indirection.
2026-06-01 01:50:00 +08:00

1.8 KiB
Raw Permalink Blame History

+++ title = "直播录制和上传工具"

The homepage contents

[extra] lead = 'Biliup 是一套直播录制、视频下载和上传的工具, 提供了多种方式 自动化的完成录制上传 .' url = "/docs/getting-started/introduction/" url_button = "Get started" repo_version = "1.2.0" repo_license = "Open-source MIT License." repo_url = "https://github.com/biliup/biliup"

Menu items

extra.menu.main name = "Docs" section = "docs" url = "/docs/getting-started/introduction/" weight = 10

extra.menu.main name = "Blog" section = "blog" url = "/blog/" weight = 20

extra.list title = "Biliup-app" content = 'B站投稿客户端,基于Tauri. 支持多p上传、线路切换、快速用户切换和多种登录方式. 核心由Biliup Rust提供支持'

extra.list title = "Fast by default ⚡️" content = '多种上传 线路 保证各种网络环境下的满带宽上传. 支持yaml,toml配置文件格式,提供web页面快速配置,查看录制状态.'

extra.list title = "Biliup Rust" content = "B站命令行投稿工具, 提供Flv、Hls直播流下载, 方便在服务器环境下快速投稿, 自定义自动化录制、下载、上传工具."

extra.list title = "直播录制" content = "检测直播. 开播自动录制,支持主流直播平台如,斗鱼、虎牙、bilibili、抖音等."

extra.list title = "视频搬运" content = "提供Youtube、Twitch频道搬运功能. 搬运视频列表,更新后自动上传bilibili."

extra.list title = "自动上传" content = "配置灵活,标题,简介支持占位符. 可配置上传后处理,如发送邮件、自动删除、备份等."

+++