rygel r389 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r389 - trunk/src/rygel
- Date: Thu, 25 Dec 2008 12:01:35 +0000 (UTC)
Author: zeeshanak
Date: Thu Dec 25 12:01:35 2008
New Revision: 389
URL: http://svn.gnome.org/viewvc/rygel?rev=389&view=rev
Log:
Add a prefix to Streamer's hosted path.
This is to make sure it doesn't conflict with any other paths hosted by the
HTTP server.
Modified:
trunk/src/rygel/rygel-streamer.vala
Modified: trunk/src/rygel/rygel-streamer.vala
==============================================================================
--- trunk/src/rygel/rygel-streamer.vala (original)
+++ trunk/src/rygel/rygel-streamer.vala Thu Dec 25 12:01:35 2008
@@ -27,6 +27,7 @@
using Gst;
public class Rygel.Streamer : GLib.Object {
+ private const string SERVER_PATH_PREFIX = "/RygelStreamer";
private string server_path_root;
private GUPnP.Context context;
@@ -41,7 +42,7 @@
this.context = context;
this.streams = new HashMap<Stream,GstStream> ();
- this.server_path_root = "/" + name;
+ this.server_path_root = SERVER_PATH_PREFIX + "/" + name;
context.server.add_handler (this.server_path_root, server_handler);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]