gstreamer/subprojects/gst-plugins-bad/ext/webrtc/meson.build

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
840 B
Meson
Raw Normal View History

webrtc_sources = [
'gstwebrtc.c',
'gstwebrtcstats.c',
'webrtcsctptransport.c',
'gstwebrtcbin.c',
'transportreceivebin.c',
'transportsendbin.c',
'transportstream.c',
'utils.c',
'webrtcsdp.c',
'webrtctransceiver.c',
'webrtcdatachannel.c',
]
webrtc_option = get_option('webrtc').require(
libgstwebrtcnice_dep.found(), error_message: 'webrtc plugin requires libgstwebrtcnice.')
if webrtc_option.disabled()
subdir_done()
endif
gstwebrtc_plugin = library('gstwebrtc',
webrtc_sources,
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
include_directories : [configinc],
dependencies : [gstbase_dep, gstsdp_dep,
gstapp_dep, gstwebrtc_dep, gstsctp_dep, gstrtp_dep, gio_dep, libgstwebrtcnice_dep],
install : true,
install_dir : plugins_install_dir,
)
plugins += [gstwebrtc_plugin]