Commit 7c330631 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist
Browse files

Features: Check for gstreamer gtk plugin for AV support

Fixes #10551
parent 1b37bcff
......@@ -24,7 +24,7 @@ ### Optional Runtime Requirements
- gir1.2-gspell-1 and hunspell-LANG where lang is your locale eg. en, fr etc
- gir1.2-secret-1 for GNOME Keyring or KDE support as password storage
- D-Bus running to have gajim-remote working
- gir1.2-farstream-0.2, gir1.2-gstreamer-1.0 and gir1.2-gst-plugins-base-1.0 for audio and video calls
- gir1.2-farstream-0.2, gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0, gstreamer1.0-plugins-ugly, gstreamer1.0-libav, and gstreamer1.0-gtk3 for audio and video calls
- gir1.2-gupnpigd-1.0 for better NAT traversing
- gir1.2-networkmanager-1.0 for network lose detection
- gir1.2-geoclue-2.0 for sharing your location
......@@ -227,7 +227,10 @@ def detect_dependencies():
conference = Gst.ElementFactory.make('fsrtpconference', None)
_dependencies['AV'] = True
from gajim.gui.gstreamer import create_gtk_widget
sink, widget, name = create_gtk_widget()
if sink is not None:
_dependencies['AV'] = True
except Exception as error:
log('gajim').warning('AV dependency test failed: %s', error)
......@@ -91,7 +91,8 @@ def _get_features(self):
_('Enables Gajim to provide Audio and Video chats'),
_('Requires: gir1.2-farstream-0.2, gir1.2-gstreamer-1.0, '
'gstreamer1.0-libav, gstreamer1.0-plugins-ugly'),
'gstreamer1.0-plugins-base, gstreamer1.0-plugins-ugly, '
'gstreamer1.0-libav, and gstreamer1.0-gtk3'),
_('Feature not available under Windows'),
Feature(_('Automatic Status'),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment