mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pipewire: module-roc-{sink,source}: port to ROC v0.2.X
Incompatible changes between ROC v0.1.X and v0.2.X require adjusting the ROC modules' code. The largest change is going from `roc_address` to `roc_endpoint`. There is also a breaking change, the removal of `local.ip` parameter from module-roc-sink as `roc_sender_bind()` has been removed. The API usage was modelled after https://github.com/roc-streaming/roc-pulse See #1757 Fixes #2911
This commit is contained in:
parent
be99aa1eba
commit
73c5f6e1bf
5 changed files with 166 additions and 170 deletions
|
|
@ -505,8 +505,8 @@ pipewire_module_raop_sink = shared_library('pipewire-module-raop-sink',
|
|||
endif
|
||||
summary({'raop-sink (requires OpenSSL)': build_module_raop}, bool_yn: true, section: 'Optional Modules')
|
||||
|
||||
roc_lib = cc.find_library('roc', has_headers: ['roc/config.h' ], required: get_option('roc'))
|
||||
summary({'ROC': roc_lib.found()}, bool_yn: true, section: 'Streaming between daemons')
|
||||
roc_dep = dependency('roc', required: get_option('roc'))
|
||||
summary({'ROC': roc_dep.found()}, bool_yn: true, section: 'Streaming between daemons')
|
||||
|
||||
pipewire_module_rtp_source = shared_library('pipewire-module-rtp-source',
|
||||
[ 'module-rtp-source.c' ],
|
||||
|
|
@ -526,7 +526,7 @@ pipewire_module_rtp_sink = shared_library('pipewire-module-rtp-sink',
|
|||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep],
|
||||
)
|
||||
|
||||
build_module_roc = roc_lib.found()
|
||||
build_module_roc = roc_dep.found()
|
||||
if build_module_roc
|
||||
pipewire_module_roc_sink = shared_library('pipewire-module-roc-sink',
|
||||
[ 'module-roc-sink.c' ],
|
||||
|
|
@ -534,7 +534,7 @@ pipewire_module_roc_sink = shared_library('pipewire-module-roc-sink',
|
|||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
install_rpath: modules_install_dir,
|
||||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep, roc_lib],
|
||||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep, roc_dep],
|
||||
)
|
||||
|
||||
pipewire_module_roc_source = shared_library('pipewire-module-roc-source',
|
||||
|
|
@ -543,7 +543,7 @@ pipewire_module_roc_source = shared_library('pipewire-module-roc-source',
|
|||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
install_rpath: modules_install_dir,
|
||||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep, roc_lib],
|
||||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep, roc_dep],
|
||||
)
|
||||
endif
|
||||
summary({'roc-sink': build_module_roc}, bool_yn: true, section: 'Optional Modules')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue