mirror of
https://github.com/acgnhiki/blrec.git
synced 2025-03-10 06:00:27 +08:00
Created a simple reverse proxy (markdown)
parent
df9913fa73
commit
50dd4cc59e
9
a-simple-reverse-proxy.md
Normal file
9
a-simple-reverse-proxy.md
Normal file
@ -0,0 +1,9 @@
|
||||
用代理服务器实现一个简单的反代服务器,用于改变录制的直播流的 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 主机地址` 设置
|
Loading…
Reference in New Issue
Block a user