Git Product home page Git Product logo

Comments (4)

KeyYao avatar KeyYao commented on July 20, 2024

@hupfei 此错误是设备返回的,可能该设备不支持https,可以手动打印一下Device类的location,用浏览器访问此地址,可以查看到该设备的upnp相关信息

from dlnawrapper.

KeyYao avatar KeyYao commented on July 20, 2024

@hupfei 查看location <serviceList><serviceId>包含AVTransport 的元素中的<SCPDURL>的值,然后替换location端口后面的path生成一条url,访问此url就能知道此设备支持的操作及操作对应的参数
所有数据都是xml格式的
猜测可能是设备上的播放器不支持https

from dlnawrapper.

KeyYao avatar KeyYao commented on July 20, 2024

@hupfei 错误号402是表示参数错误,Only HTTP and file: resource identifiers are supported.提示了只支持了http和普通文件协议

from dlnawrapper.

KeyYao avatar KeyYao commented on July 20, 2024

@hupfei 这边没有对应的设备和https资源测试,所以不能肯定是设备问题
现在设置url的参数是按照标准的协议做的,也有可能存在考虑不周的情况,不过目前没时间和精力去深入研究这方面
有兴趣可以去查阅相关资料学习,如果发现此项目有不足的地方,欢迎pull request

from dlnawrapper.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.