projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f24e4c1
)
Multicast SDP packets sent with same IP TTL as RTP packets
author
Tom Bamford
<tom@tombamford.co.uk>
Sat, 20 Dec 2008 21:44:09 +0000
(23:44 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 5 Jan 2009 18:56:01 +0000
(19:56 +0100)
Signed-off-by: Lennart Poettering <lennart@poettering.net>
src/modules/rtp/module-rtp-send.c
patch
|
blob
|
history
diff --git
a/src/modules/rtp/module-rtp-send.c
b/src/modules/rtp/module-rtp-send.c
index 8d1e92fee99ebf70f87d1d595d962838635aa2d7..9c0f07f12698a3f8d0bc36430436f51d1c8a851d 100644
(file)
--- 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 */