2016-01-27 01:03:52 +00:00
|
|
|
examples = [
|
|
|
|
'test-appsrc',
|
2018-07-10 22:55:20 +00:00
|
|
|
'test-appsrc2',
|
2016-01-27 01:03:52 +00:00
|
|
|
'test-auth',
|
2018-06-19 23:35:47 +00:00
|
|
|
'test-auth-digest',
|
2016-01-27 01:03:52 +00:00
|
|
|
'test-launch',
|
|
|
|
'test-mp4',
|
|
|
|
'test-multicast2',
|
|
|
|
'test-multicast',
|
|
|
|
'test-netclock',
|
|
|
|
'test-netclock-client',
|
|
|
|
'test-ogg',
|
2022-11-10 08:00:32 +00:00
|
|
|
'test-onvif-backchannel',
|
2019-07-27 03:14:49 +00:00
|
|
|
'test-onvif-client',
|
|
|
|
'test-onvif-server',
|
2016-01-27 01:03:52 +00:00
|
|
|
'test-readme',
|
|
|
|
'test-record-auth',
|
|
|
|
'test-record',
|
2020-09-27 11:09:22 +00:00
|
|
|
'test-replay-server',
|
2016-01-27 01:03:52 +00:00
|
|
|
'test-sdp',
|
|
|
|
'test-uri',
|
|
|
|
'test-video',
|
|
|
|
'test-video-rtx',
|
|
|
|
]
|
|
|
|
|
|
|
|
foreach example : examples
|
|
|
|
executable(example, '@0@.c'.format(example),
|
|
|
|
c_args : rtspserver_args,
|
|
|
|
include_directories : rtspserver_incs,
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [gst_dep, gstapp_dep, gstnet_dep, gst_rtsp_server_dep],
|
2016-01-27 01:03:52 +00:00
|
|
|
install: false)
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
cgroup_dep = dependency('libcgroup', version : '>= 0.26', required : false)
|
|
|
|
if cgroup_dep.found()
|
|
|
|
executable('test-cgroups', 'test-cgroups.c',
|
|
|
|
c_args : rtspserver_args,
|
|
|
|
include_directories : rtspserver_incs,
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [gst_dep, gstnet_dep, gst_rtsp_server_dep, cgroup_dep],
|
2016-01-27 01:03:52 +00:00
|
|
|
install: false)
|
|
|
|
endif
|