-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
服务器上的播放问题 #4
Comments
虽然看来不是前端的问题,不过其实有个可以避免大部分代理的办法: |
如果在服务器上面用, listen填的应该是公网IP, 如果不确定可以填 "0.0.0.0"
另外, 需要保证防火墙或者服务器组策略里面把 6001 和 6002 端口放行了 |
API 正在重构为异步框架, 还需要一些时间, 可以再等等用新的哦 |
see you next version ಥ_ಥ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我将项目放在服务器上后(已按 @lozyue大佬的方法配置好了 ,后台用的是anime-api,前端访问直接放了web文件夹),可以远程访问,也读取的到数据,但是无法播放,通过抓包后发现:如果在demo.py中填写rt.listen的ip为我的内网地址(172.28.45.85),添加rt.set_domain("...")语句(这里的代表我服务器的外网地址),则在解析播放地址的时候会多出一个外网地址,导致解析失败,例:http://...:6001/...*:6001/video/af5fc9d1a0ffab847b07788eb392d6da/proxy_player。
如果在demo.py中填写rt.listen的ip为我的内网地址(172.28.45.85),并且没有添加rt.set_domain("...")语句,则解析的播放地址不会多出一个外网地址,但是解析地址的host是我的内网地址,也无法解析,例:http://172.28.45.85:6001/video/af5fc9d1a0ffab847b07788eb392d6da/proxy_player
如果能得到解答真的是太谢谢了
The text was updated successfully, but these errors were encountered: