LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2007, 08:45 PM   #1
McManCSU
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu
Posts: 23

Rep: Reputation: 0
Benefits of UPnP?


I have done a quick search on upnp and gained a little background on it but I am still a little confused about when it should be used. My main question is that I have a Samba media server that streams to my xbox (not a 360). The xbox can use UPnP for accessing the data, but I have it just 'opening' the file and playing it off the server. What would really be the difference between what I am doing now and utilizing a UPnP protocol?

Thanks
 
Old 07-17-2007, 02:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
upnp provides a slightly enriched structure to provide data to the client. I've been using tversity and twonkyvision, and by using them to serve the data rather than stright off a disk, they server is able to provide all the data structures it is coded to do. for example listings by style from the mp3 id3 tag, first letter of artist, artificial heirarchies like genre/artist/album even if the files themselves are just in a flat directory etc... took me a while, and i'm still a bit vague on who's job it is to do what... i *think* it's the servers job to transcode any media into known subsets of acceptable data for the rendered (the client in upnp land) but still a few vagaries. it also promotes zero configuration as well using multicast to find servers automatically and all osrts of other things like that.
 
Old 07-17-2007, 03:04 PM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You can think of the difference between what you are doing and UPnP as being similar to the difference between a static IP address and using DHCP.

In the first case, you are directly specifying the address and manually configuring the additional parameters (netmask, gateway, DNS, etc.). In the second, your machine asks the net, "Are there any DHCP servers", and gets a response with the necessary information.

Similarly, with a UPnP protocol, your machine would ask "Are there any media servers". It could then select from the offered content.
 
Old 07-17-2007, 06:09 PM   #4
McManCSU
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu
Posts: 23

Original Poster
Rep: Reputation: 0
So it sounds like there is really not much of a benefit to change to UPnP. My concern was if the data being streamed under UPnP was a more compressed stream, ie. to conserve bandwidth across the network. Thanks for the help!
 
Old 07-18-2007, 02:29 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well that's a grey area to me, i'm not sure who's job it is... there should be a benefit when it's done on the server side for the network, but then there's cpu load on the server and maybe you don't need the bandwidth boost anyway. as i mentioned though, there's more to upnp than just that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with UPNP mike34341 Linux - Server 0 07-06-2007 10:25 PM
What is UPnP? Is it worth trying? depam Linux - Networking 6 04-12-2007 07:29 AM
UPnP codenaive Linux - Networking 3 06-01-2006 03:57 AM
SUSE 10.0 and UPnP trenyboy Linux - Newbie 0 01-16-2006 06:37 AM
UPnP vulnerability in XP anoop_chandran General 13 01-08-2002 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration