mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Multicast SDP packets sent with same IP TTL as RTP packets
Signed-off-by: Lennart Poettering <lennart@poettering.net>
This commit is contained in:
parent
f24e4c19c3
commit
fe2b8c359b
1 changed files with 5 additions and 0 deletions
|
|
@ -296,6 +296,11 @@ int pa__init(pa_module*m) {
|
||||||
pa_log("IP_MULTICAST_TTL failed: %s", pa_cstrerror(errno));
|
pa_log("IP_MULTICAST_TTL failed: %s", pa_cstrerror(errno));
|
||||||
goto fail;
|
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 */
|
/* If the socket queue is full, let's drop packets */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue