Tuesday, August 03, 2004

TA-LV700R : I am checking the UPnP AV media player using my implemented UPnP Media Server, CyberMediaGate for MythTV. The player cound find the media server and get the content list normally, but it couldn't play the recorded MPEG2 contents with the following error messages.
playing error.

Reading of a video capsule went wrong.
I checked the log of the CyberMediaGate, I knew that the error message occurred because of lacking the search request as follows. I have not implemented the search function yet. I will support the function soon.
POST /service/ContentDirectory_control HTTP/HTTP/1.1

HOST: 192.168.1.20:38520
CONTENT-LENGTH: 2007
CONTENT-TYPE: text/xml
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Search"
X-AV-Client-Info: av = 2.0; cn = "Sony Corporation" ; mn = "RoomLink" ; mv = 1.0

<?xml version="1.0"?>
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Search xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<ContainerID>0</ContainerID>
<SearchCriteria>
@id = "2" and av:filmrollURI@av:codec = "CLUT8" and
av:filmrollURI@av:resolution = "80x60" and
av:filmrollURI@av:clutIndexOffset = "16" and
av:filmrollURI@av:clutNumIndex = "240" and
av:filmrollURI@av:clutData = "YrfiAFWLpwDu7u4A3d3dAM ..... QBEVGQATYK4ACQ8RwBFWW4A"
</SearchCriteria>
<Filter>*</Filter>
<StartingIndex>0</StartingIndex>
<RequestedCount>1</RequestedCount>
<SortCriteria></SortCriteria>
</u:Search>
</s:Body>
</s:Envelope>

HTTP/1.0 500 Internal Server Error
CONTENT-TYPE: text/xml; charset="utf-8"
SERVER: Linux/2.4.22-1.2197.nptl UPnP/1.0 CyberLink/1.4.2
EXT:
CONTENT-LENGTH: 487

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?