Coder Social home page Coder Social logo

SOAP控制不了设备 about dlnawrapper HOT 5 OPEN

keyyao avatar keyyao commented on September 28, 2024
SOAP控制不了设备

from dlnawrapper.

Comments (5)

KeyYao avatar KeyYao commented on September 28, 2024

@ZyjEugene 控制操作失败的话可以查看log输出是什么错误信息,我这边没有对应的设备可以测试,必须看到log才能了解是什么原因导致失败。

from dlnawrapper.

ZyjEugene avatar ZyjEugene commented on September 28, 2024

PauseAction请求如下:<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/&quot;><s:Body><u:Pause xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">01</u:Pause></s:Body></s:Envelope>

返回的信息如下:Printing description of response:<NSHTTPURLResponse: 0x17602f520> { URL: http://192.168.0.124:1630/AVTransport/123456789abc-dmr/control.xml } { status code: 200, headers {"Content-Language" = en;"Content-Length" = 265;"Content-Type" = "text/xml; charset="utf-8"";Date = "Mon, 05 Jun 2017 02:26:04 GMT";Ext = "";Server = "UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.11";} }

data数据解析的返回信息:<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/&quot;><s:Body><u:PauseResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:PauseResponse></s:Body></s:Envelope>

这是我暂停操作时输出的log,信息正常返回,但是暂停事件没有成功

from dlnawrapper.

KeyYao avatar KeyYao commented on September 28, 2024

看log没什么问题,返回的信息是成功的,然而设备没有响应操作,这只能调试了,但是我这边没有对应的设备,所以帮不上忙。
推荐用其他DLNA软件试试看,如果可以操作,就用抓包工具抓一下数据包,然后再分析。

from dlnawrapper.

coderWeil avatar coderWeil commented on September 28, 2024

您好,请问关于控制设备的问题您解决了吗?我这边也是遇到无法控制的问题,播放什么的都正常,手机上就是无法控制设备

from dlnawrapper.

ZyjEugene avatar ZyjEugene commented on September 28, 2024

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.