Is there any way to parse / interpret the XMLs sent as part of a DLNA / UPnP using Wireshark, or any other network sniffer?
I can get the raw packets, but it would be nice to see them parsed, to make debugging easier.
feedback
|
|
look at this sample of PS3 <--> XP http://www.braham.org/playfile.txt
if you have code that send xml in http without say so in the header, it's not nice... (in the this sample only "/ContentDirectory/scpd.xml" is being sent without content type) | |||||
feedback
|
|
Wireshark can reassemble packets to show you a complete view of a stream. Have a look at the docs. This will help you to look at the XML. It wont provide an analysis specific to DLNA. If you want a nice view of the XML, I dont think Wireshark will do it directly, but if you copy / paste it in any good XML editor, it should do the trick. Even saving the XML as a fiel and opening it with Firefox or IE will do the trick. | |||||||||||||
feedback
|
|
Well, wireshark or MS sniffer should dissect UPnP packets, and probably DLNA too. Having packets dissected as a tree of information helps but it might not be trivial to see what's really happening there, and might require you to learn a bit about the protocols in order to debug the problems you may be having. Have patience. | |||
feedback
|