Skip to content
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

可以播放客户端本地视频吗,我只看到seturl设置,没看到设置本地视频path #6

Open
wengxianxun opened this issue Mar 19, 2024 · 3 comments

Comments

@wengxianxun
Copy link

可以播放客户端本地视频吗,我只看到seturl设置,没看到设置本地视频path

@suconghou
Copy link
Owner

只能设置URL,播放本地视频,需要你在本地开启一个http server,根据path组装对应的对端可以访问的链接地址,这些工作不在本库的范围内。

@wengxianxun
Copy link
Author

只能设置URL,播放本地视频,需要你在本地开启一个http server,根据path组装对应的对端可以访问的链接地址,这些工作不在本库的范围内。

我在本地开启了httpserver然后生成一个局域网视频地址http://192.168.31.11/test/2.mp4,这个地址在浏览器可以访问,但是用第三方视频播放器播放不了,不知道什么原因,作者有没弄过本地服务器
image

@suconghou
Copy link
Owner

你响应了 Accept-Ranges:bytes , 表明服务器支持range请求, 但是你写的server并未实现完善的range请求逻辑,这是不对的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants