mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
make rtp send socket low delay
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1861 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f44ddd1052
commit
ef8df41042
2 changed files with 3 additions and 1 deletions
|
|
@ -1344,7 +1344,7 @@ module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
|
|||
# RTP modules
|
||||
module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
|
||||
module_rtp_send_la_LDFLAGS = -module -avoid-version
|
||||
module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore.la librtp.la
|
||||
module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore.la librtp.la libsocket-util.la
|
||||
module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
|
||||
|
||||
module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/socket-util.h>
|
||||
|
||||
#include "module-rtp-send-symdef.h"
|
||||
|
||||
|
|
@ -280,6 +281,7 @@ int pa__init(pa_module*m) {
|
|||
|
||||
/* If the socket queue is full, let's drop packets */
|
||||
pa_make_nonblock_fd(fd);
|
||||
pa_socket_udp_low_delay(fd);
|
||||
|
||||
pa_source_output_new_data_init(&data);
|
||||
data.name = "RTP Monitor Stream";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue