webrtcbin: an element that handles the transport aspects of webrtc connections
[platform/upstream/gst-plugins-bad.git] / ext / webrtc / meson.build
1 webrtc_sources = [
2   'gstwebrtc.c',
3   'gstwebrtcice.c',
4   'gstwebrtcstats.c',
5   'icestream.c',
6   'nicetransport.c',
7   'gstwebrtcbin.c',
8   'transportreceivebin.c',
9   'transportsendbin.c',
10   'transportstream.c',
11   'utils.c',
12   'webrtcsdp.c',
13   'webrtctransceiver.c',
14 ]
15
16 libnice_dep = dependency('nice', version : '>=0.1.14', required : false)
17
18 if libnice_dep.found()
19   library('gstwebrtc',
20     webrtc_sources,
21     c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
22     include_directories : [configinc],
23     dependencies : [libnice_dep, gstbase_dep, gstsdp_dep, gstwebrtc_dep],
24     install : true,
25     install_dir : plugins_install_dir,
26   )
27 endif