mirror of
https://github.com/acgnhiki/blrec.git
synced 2025-03-09 21:40:08 +08:00
1
a simple reverse proxy
acgnhiki edited this page 2023-02-19 15:44:28 +08:00
用代理服务器实现一个简单的反代服务器,用于改变录制的直播流的 CDN 。
代码:https://gist.github.com/acgnhiki/21a8da348f3e6495d71baa466f06a913
PROXY = 'http://localhost:10809'
修改为自己的代理服务器
运行 uvicorn bili_api_reverse_proxy:app --host 0.0.0.0 --port 52233 --no-server-header --no-date-header
把 http://localhost:52233
添加到 直播流 API 主机地址
设置