Comments (4)
@hupfei 此错误是设备返回的,可能该设备不支持https,可以手动打印一下Device类的location,用浏览器访问此地址,可以查看到该设备的upnp相关信息
from dlnawrapper.
@hupfei 查看location <serviceList>
中 <serviceId>
包含AVTransport 的元素中的<SCPDURL>
的值,然后替换location端口后面的path生成一条url,访问此url就能知道此设备支持的操作及操作对应的参数
所有数据都是xml格式的
猜测可能是设备上的播放器不支持https
from dlnawrapper.
@hupfei 错误号402
是表示参数错误,Only HTTP and file: resource identifiers are supported.
提示了只支持了http和普通文件协议
from dlnawrapper.
@hupfei 这边没有对应的设备和https资源测试,所以不能肯定是设备问题
现在设置url的参数是按照标准的协议做的,也有可能存在考虑不周的情况,不过目前没时间和精力去深入研究这方面
有兴趣可以去查阅相关资料学习,如果发现此项目有不足的地方,欢迎pull request
from dlnawrapper.
Related Issues (5)
- 视频播放 HOT 2
- SOAP控制不了设备 HOT 5
- 投屏视频的时候会非常卡 HOT 5
- 你好,请问把iOS当成设备端需要怎么设置? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dlnawrapper.