ClaudeLi / DLNA_UPnP

基于DLNA实现iOS投屏,SSDP发现设备及SOAP控制设备
MIT License
334 stars 87 forks source link

三星TV可以设置音量,但是不能播放视频 #15

Closed richard-ww closed 5 years ago

richard-ww commented 5 years ago
2019-07-16 16:31:41.549798+0800 DLNA_UPnP_Example[2533:423537] postXML = <s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><s:Body><u:Pause><InstanceID>0</InstanceID></u:Pause></s:Body></s:Envelope>
2019-07-16 16:31:41.549926+0800 DLNA_UPnP_Example[2533:423537] resXML = <s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>701</errorCode><errorDescription>Transition not available</errorDescription></UPnPError></detail></s:Fault>
2019-07-16 16:31:43.298444+0800 DLNA_UPnP_Example[2533:423537] postXML = <s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><s:Body><u:Play><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>
2019-07-16 16:31:43.298586+0800 DLNA_UPnP_Example[2533:423537] resXML = <s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>701</errorCode><errorDescription>Transition not available</errorDescription></UPnPError></detail></s:Fault>

求解,谢谢!

richard-ww commented 5 years ago

找到问题了:

static NSString *urlStr2 = @"http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8";

这个URL好像404了