2016-08-12 15:51:45 +00:00
|
|
|
rtmp_sources = [
|
|
|
|
'gstrtmp.c',
|
2021-02-19 11:00:13 +00:00
|
|
|
'gstrtmpelement.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
'gstrtmpsink.c',
|
|
|
|
'gstrtmpsrc.c',
|
|
|
|
]
|
|
|
|
|
2025-01-13 17:10:31 +00:00
|
|
|
rtmp_headers = [
|
|
|
|
'gstrtmpelements.h',
|
|
|
|
'gstrtmpsrc.h',
|
|
|
|
'gstrtmpsink.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
doc_sources = []
|
|
|
|
foreach s: rtmp_sources + rtmp_headers
|
|
|
|
doc_sources += meson.current_source_dir() / s
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
plugin_sources += {
|
|
|
|
'rtmp': pathsep.join(doc_sources)
|
|
|
|
}
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
rtmp_dep = dependency('librtmp', required : get_option('rtmp'))
|
2016-08-12 15:51:45 +00:00
|
|
|
|
|
|
|
if rtmp_dep.found()
|
|
|
|
gstrtmp = library('gstrtmp',
|
|
|
|
rtmp_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
2020-07-07 18:55:00 +00:00
|
|
|
include_directories : [configinc, libsinc],
|
2016-08-12 15:51:45 +00:00
|
|
|
dependencies : [gstbase_dep, rtmp_dep] + winsock2,
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstrtmp]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|