I realise this is a little OT but perhaps this could once and for all be put to bed - the double network bandwidth issue when streaming from a UPnP source.
I've just run a test and can't find any evidence of this additional traffic.
I've got a Pi (OpenELEC Helix build, with MySQL library and nfs:// media both on the same NAS) and an x86-based Revo 3700 (OpenELEC Gotham 4.0.6 build, not configured for MySQL and no sources).
I have configured the Pi as a UPnP "server" with the following options enabled:
- Share video and music libraries through UPnP
- - Announce library updates via UPnP
The last option is crucial in order for UPnP sources to appear on the client - perhaps it could be worded more accurately? I thought it was referring to whether library
updates were announced, when in fact this option appears to control the entire visibility of the library (which actually you'd think the first option was supposed to control).
Edit: I've just run some more tests and now I'm not so sure about how crucial the second option is - maybe a glitch when testing without it the first time.
I then configured the x86 as a UPnP "client" with the following option enabled:
- Allow control of XBMC via UPnP
With the above options enabled, on the x86 client I'm able to add video and music UPnP sources with the Pi as the UPnP source.
Whenever I play a file on x86 via either the video or music source I see no significant increase in Pi network traffic. The Pi does not appear to be streaming data from the NAS to x86, rather the x86 appears to be streaming data directly from the NAS using the nfs:// url.
So either I've not configured UPnP correctly (yet miraculously got it working in an efficient manner!), or this double-bandwidth overhead problem that has been mentioned previously is only a problem under very specific circumstances (or maybe it's not a problem at all?)