mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 17:53:48 +00:00
meson: Add options to enable webrtc-livekit/aws
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1806>
This commit is contained in:
parent
2ac9e584d8
commit
03b7e8ccdd
2 changed files with 11 additions and 0 deletions
|
@ -167,6 +167,7 @@ plugins = {
|
|||
'webrtc': {
|
||||
'library': 'libgstrswebrtc',
|
||||
'examples': ['webrtcsink-stats-server'],
|
||||
'option-features': ['aws', 'livekit']
|
||||
},
|
||||
|
||||
'textahead': {'library': 'libgsttextahead'},
|
||||
|
@ -462,6 +463,14 @@ foreach plugin_name, details: plugins
|
|||
continue
|
||||
endif
|
||||
|
||||
option_features = []
|
||||
foreach feature : details.get('option-features', [])
|
||||
if get_option(f'@plugin_name@-@feature@').allowed()
|
||||
message(f'Enabling @feature@ for @plugin_name@')
|
||||
features += [feature]
|
||||
endif
|
||||
endforeach
|
||||
|
||||
# Check if we have the required GStreamer version
|
||||
if details.has_key('gst-version') and not \
|
||||
deps_cache['gstreamer-1.0'].version().version_compare(details['gst-version'])
|
||||
|
|
|
@ -38,6 +38,8 @@ option('relationmeta', type: 'feature', value: 'auto', description: 'Build relat
|
|||
option('rtsp', type: 'feature', value: 'auto', description: 'Build rtsp plugin')
|
||||
option('rtp', type: 'feature', value: 'auto', description: 'Build rtp plugin')
|
||||
option('webrtc', type: 'feature', value: 'auto', yield: true, description: 'Build webrtc plugin')
|
||||
option('webrtc-livekit', type: 'feature', value: 'disabled', description: 'Build webrtc aws')
|
||||
option('webrtc-aws', type: 'feature', value: 'disabled', description: 'Build webrtc livekit')
|
||||
option('webrtchttp', type: 'feature', value: 'auto', description: 'Build webrtchttp plugin')
|
||||
option('quinn', type: 'feature', value: 'auto', description: 'Build quinn plugin')
|
||||
|
||||
|
|
Loading…
Reference in a new issue