2019-07-02 09:52:44 +00:00
|
|
|
gst_req = '>= 1.14.0'
|
|
|
|
gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req,
|
|
|
|
fallback : ['gst-plugins-base', 'sdp_dep'])
|
|
|
|
|
|
|
|
libsoup_dep = dependency('libsoup-2.4', version : '>=2.48',
|
2022-04-21 10:17:27 +00:00
|
|
|
fallback : ['libsoup', 'libsoup_dep'], required: false)
|
2019-07-02 09:52:44 +00:00
|
|
|
json_glib_dep = dependency('json-glib-1.0',
|
2022-04-21 10:17:27 +00:00
|
|
|
fallback : ['json-glib', 'json_glib_dep'], required: false)
|
|
|
|
|
|
|
|
if not libsoup_dep.found() or not json_glib_dep.found()
|
|
|
|
message('WebRTC examples are disabled because some dependencies are missing.')
|
|
|
|
subdir_done()
|
|
|
|
endif
|
2019-07-02 09:52:44 +00:00
|
|
|
|
2018-09-10 08:08:15 +00:00
|
|
|
py3_mod = import('python3')
|
|
|
|
py3 = py3_mod.find_python()
|
|
|
|
|
|
|
|
py3_version = py3_mod.language_version()
|
|
|
|
if py3_version.version_compare('< 3.6')
|
|
|
|
error('Could not find a sufficient python version required: 3.6, found {}'.format(py3_version))
|
|
|
|
endif
|
|
|
|
|
2019-07-02 09:52:44 +00:00
|
|
|
subdir('multiparty-sendrecv')
|
2018-09-10 08:08:15 +00:00
|
|
|
subdir('signalling')
|
2020-12-10 10:16:52 +00:00
|
|
|
subdir('sendonly')
|
2019-07-02 09:52:44 +00:00
|
|
|
subdir('sendrecv')
|
2018-12-17 11:34:10 +00:00
|
|
|
|
|
|
|
subdir('check')
|