1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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,
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
|