Wednesday, August 25, 2004

VAIO Media : I am checking the UPnP AV client with CyberMediaGate for MythTV. Basically, the client uses only browse action, but It seems that the client use the following extended action, X_GetSchema, to get the thumbnail image.
POST /service/ContentDirectory_control HTTP/1.1

HOST: 192.168.1.20:38521
CONTENT-LENGTH: 410
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#X_GetSchema"
X-AV-Client-Info: av=2.0;hn="YOUR-VJXTZQOWMX";cn="Sony Corporation";mn="VAIO Media";mv="2.6.00"
X-AV-Physical-Unit-Info: pa="YOUR-VJXTZQOWMX";

<?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:X_GetSchema xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<ClassName>object.container</ClassName>
<Filter>dc:title,dc:date,upnp:channelName,upnp:genre,res@duration,</Filter>
</u:X_GetSchema>
</s:Body>
</s:Envelope>
Next, the client wants to get the movie stream using HTTP as follows, but the client will be hang up or aborted. I guess that the media server have to support the extended tag, X-Seek-Range, like CONTENT-RANGE of HTTP to get the stream.
GET /ExportContent?id=3 HTTP/1.1

Host: 192.168.1.20:38520
Connection: close
X-Seek-Range: npt=0:0:0.0-
X-AV-Client-Info: av=2.0;hn="YOUR-VJXTZQOWMX";cn="Sony Corporation";mn="VAIO Media";mv="2.6.00"
X-AV-Physical-Unit-Info: pa="YOUR-VJXTZQOWMX";
id = 3
itemNode = 0x938bdd8
contentLen = 1751496640
contentTypeIn = video/mpeg
contentIn = 0xbc30d008

Comments: Post a Comment

<< Home

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