mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-25 06:59:52 -05:00
rtp: Add a GStreamer-based RTP implementation
This adds a GStreamer-based RTP implementation to replace our own. The original implementation is retained for cases where it is not possible to include GStreamer as a dependency. The idea with this is to be able to start supporting more advanced RTP features such as RTCP, non-PCM audio, and potentially synchronised playback. Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
This commit is contained in:
parent
eb912d3605
commit
74f8456acb
12 changed files with 638 additions and 85 deletions
|
|
@ -1176,13 +1176,21 @@ libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libp
|
|||
endif
|
||||
|
||||
librtp_la_SOURCES = \
|
||||
modules/rtp/rtp.c modules/rtp/rtp.h \
|
||||
modules/rtp/rtp-common.c modules/rtp/rtp.h \
|
||||
modules/rtp/sdp.c modules/rtp/sdp.h \
|
||||
modules/rtp/sap.c modules/rtp/sap.h \
|
||||
modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
|
||||
modules/rtp/headerlist.c modules/rtp/headerlist.h
|
||||
librtp_la_CFLAGS = $(AM_CFLAGS)
|
||||
librtp_la_LDFLAGS = $(AM_LDFLAGS) $(AM_LIBLDFLAGS) -avoid-version
|
||||
librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
|
||||
if HAVE_GSTREAMER
|
||||
librtp_la_SOURCES += modules/rtp/rtp-gstreamer.c
|
||||
librtp_la_CFLAGS += $(GSTREAMER_CFLAGS)
|
||||
librtp_la_LIBADD += $(GSTREAMER_LIBS)
|
||||
else
|
||||
librtp_la_SOURCES += modules/rtp/rtp-native.c
|
||||
endif
|
||||
|
||||
libraop_la_SOURCES = \
|
||||
modules/raop/raop-util.c modules/raop/raop-util.h \
|
||||
|
|
@ -2049,12 +2057,12 @@ endif
|
|||
module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
|
||||
module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
|
||||
module_rtp_send_la_LIBADD = $(MODULE_LIBADD) librtp.la
|
||||
module_rtp_send_la_CFLAGS = $(AM_CFLAGS) -DPA_MODULE_NAME=module_rtp_send
|
||||
module_rtp_send_la_CFLAGS = $(AM_CFLAGS) $(GSTREAMER_CFLAGS) -DPA_MODULE_NAME=module_rtp_send
|
||||
|
||||
module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
|
||||
module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
|
||||
module_rtp_recv_la_LIBADD = $(MODULE_LIBADD) librtp.la
|
||||
module_rtp_recv_la_CFLAGS = $(AM_CFLAGS) -DPA_MODULE_NAME=module_rtp_recv
|
||||
module_rtp_recv_la_CFLAGS = $(AM_CFLAGS) $(GSTREAMER_CFLAGS) -DPA_MODULE_NAME=module_rtp_recv
|
||||
|
||||
# JACK
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue