move SAP in separate module

The idea is to have the rtp-source and rtp-sink be separate modules that
can be loaded a static ip/port as well.

The SAP module would then expose existing rtp-sinks or additionally load
rtp-sources based on SAP messages.

This makes things a bit more flexible when we also want to expose the
rtp-sink using zeroconf, for example.
This commit is contained in:
Wim Taymans 2023-02-20 18:10:09 +01:00
parent 7a31278511
commit cb1e5661dc
3 changed files with 816 additions and 193 deletions

View file

@ -550,6 +550,15 @@ if build_module_rtp_session
)
endif
pipewire_module_rtp_sap = shared_library('pipewire-module-rtp-sap',
[ 'module-rtp-sap.c' ],
include_directories : [configinc],
install : true,
install_dir : modules_install_dir,
install_rpath: modules_install_dir,
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep],
)
build_module_roc = roc_dep.found()
if build_module_roc
pipewire_module_roc_sink = shared_library('pipewire-module-roc-sink',