Skip to content

Instantly share code, notes, and snippets.

@jishi
Created August 30, 2016 07:58
Show Gist options
  • Save jishi/3669e893c12253818aed1fb5f67bb6d6 to your computer and use it in GitHub Desktop.
Save jishi/3669e893c12253818aed1fb5f67bb6d6 to your computer and use it in GitHub Desktop.
SetAVTransportURI
POST /MediaRenderer/AVTransport/Control
host: 192.168.1.151
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
CONTENT-LENGTH: xxx
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><CurrentURI>{uri}</CurrentURI><CurrentURIMetaData>{metadata}</CurrentURIMetaData></u:SetAVTransportURI>
</s:Body>
</s:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment