chiark / gitweb /
Correct setting of rtp-source-port.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Mar 2009 11:41:40 +0000 (11:41 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Mar 2009 11:41:40 +0000 (11:41 +0000)
lib/uaudio-rtp.c

index 31e8f57..01be09b 100644 (file)
@@ -307,7 +307,7 @@ static void rtp_configure(void) {
   uaudio_set("rtp-destination-port", config->broadcast.s[1]);
   if(config->broadcast_from.n) {
     uaudio_set("rtp-source", config->broadcast_from.s[0]);
-    uaudio_set("rtp-source-port", config->broadcast_from.s[0]);
+    uaudio_set("rtp-source-port", config->broadcast_from.s[1]);
   } else {
     uaudio_set("rtp-source", NULL);
     uaudio_set("rtp-source-port", NULL);