# Set it to 'false' if you want to disable WMV transcoding support.
enable-wmv-transcoder=true
-# The network interface to attach rygel to. Leave it blank for dynamic
-# configuration.
+# The network interface to attach rygel to. You can also use network IP or even
+# ESSID for wireless networks if you are using NetworkManager. Leave it blank
+# for dynamic configuration.
interface=
# The port to run HTTP server on. 0 means dynamic.
port=0
# Set it to 'true' if you want to enable WMV transcoding support.
enable-wmv-transcoder=false
-# The network interface to attach rygel to. Leave it blank for dynamic
-# configuration.
+# The network interface to attach rygel to. You can also use network IP or even
+# ESSID for wireless networks if you are using NetworkManager. Leave it blank
+# for dynamic configuration.
interface=
# The port to run HTTP server on. 0 means dynamic.
port=0
GUPnP.Context context) {
string iface = null;
- debug ("new network context %s (%s) available.",
+ debug ("New network %s (%s) context available. IP: %s",
+ context.network,
context.interface,
context.host_ip);
iface = this.config.get_interface ();
} catch (GLib.Error err) {}
- if (iface == null || iface == context.interface) {
+ if (iface == null ||
+ iface == context.interface ||
+ iface == context.network) {
try {
var factory = new RootDeviceFactory (context);
this.factories.add (factory);
err.message);
}
} else {
- debug ("Ignoring network context %s (%s).",
- context.interface,
- context.host_ip);
+ debug ("Ignoring network %s (%s) context.",
+ context.network,
+ context.interface);
}
}
private void on_context_unavailable (GUPnP.ContextManager manager,
GUPnP.Context context) {
- debug ("Network context %s (%s) now unavailable.",
+ debug ("Network %s (%s) context now unavailable. IP: %s",
+ context.network,
context.interface,
context.host_ip);