mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
28 lines
654 B
Meson
28 lines
654 B
Meson
|
webrtc_sources = [
|
||
|
'gstwebrtc.c',
|
||
|
'gstwebrtcice.c',
|
||
|
'gstwebrtcstats.c',
|
||
|
'icestream.c',
|
||
|
'nicetransport.c',
|
||
|
'gstwebrtcbin.c',
|
||
|
'transportreceivebin.c',
|
||
|
'transportsendbin.c',
|
||
|
'transportstream.c',
|
||
|
'utils.c',
|
||
|
'webrtcsdp.c',
|
||
|
'webrtctransceiver.c',
|
||
|
]
|
||
|
|
||
|
libnice_dep = dependency('nice', version : '>=0.1.14', required : false)
|
||
|
|
||
|
if libnice_dep.found()
|
||
|
library('gstwebrtc',
|
||
|
webrtc_sources,
|
||
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
||
|
include_directories : [configinc],
|
||
|
dependencies : [libnice_dep, gstbase_dep, gstsdp_dep, gstwebrtc_dep],
|
||
|
install : true,
|
||
|
install_dir : plugins_install_dir,
|
||
|
)
|
||
|
endif
|