[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.13-159-gfe2b8c3
Lennart Poettering
gitmailer-noreply at 0pointer.de
Mon Jan 5 10:56:52 PST 2009
This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.
The master branch has been updated
from f24e4c19c33b534e5f15d6ae227d07ae7755e644 (commit)
- Log -----------------------------------------------------------------
fe2b8c3... Multicast SDP packets sent with same IP TTL as RTP packets
-----------------------------------------------------------------------
Summary of changes:
src/modules/rtp/module-rtp-send.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
commit fe2b8c359b505dfa4c5fb75f223fc35c7ecdfd4b
Author: Tom Bamford <tom at tombamford.co.uk>
Date: Sat Dec 20 23:44:09 2008 +0200
Multicast SDP packets sent with same IP TTL as RTP packets
Signed-off-by: Lennart Poettering <lennart at poettering.net>
diff --git a/src/modules/rtp/module-rtp-send.c b/src/modules/rtp/module-rtp-send.c
index 8d1e92f..9c0f07f 100644
--- a/src/modules/rtp/module-rtp-send.c
+++ b/src/modules/rtp/module-rtp-send.c
@@ -296,6 +296,11 @@ int pa__init(pa_module*m) {
pa_log("IP_MULTICAST_TTL failed: %s", pa_cstrerror(errno));
goto fail;
}
+
+ if (setsockopt(sap_fd, IPPROTO_IP, IP_MULTICAST_TTL, &_ttl, sizeof(_ttl)) < 0) {
+ pa_log("IP_MULTICAST_TTL (sap) failed: %s", pa_cstrerror(errno));
+ goto fail;
+ }
}
/* If the socket queue is full, let's drop packets */
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list