2016-08-12 15:51:45 +00:00
|
|
|
rtmp_sources = [
|
|
|
|
'gstrtmp.c',
|
|
|
|
'gstrtmpsink.c',
|
|
|
|
'gstrtmpsrc.c',
|
|
|
|
]
|
|
|
|
|
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-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstrtmp, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstrtmp]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|