mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
31 lines
840 B
Meson
31 lines
840 B
Meson
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]
|
|
|