mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
b55dfb5313
The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
29 lines
792 B
Meson
29 lines
792 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 : get_option('webrtc'),
|
|
fallback : ['libnice', 'libnice_dep'],
|
|
default_options: ['tests=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
|