Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
-
8e66037c
by wurstsalat at 2021-06-06T00:29:56+02:00
3 changed files:
Changes:
| ... | ... | @@ -24,7 +24,7 @@ ### Optional Runtime Requirements |
| 24 | 24 |
- gir1.2-gspell-1 and hunspell-LANG where lang is your locale eg. en, fr etc
|
| 25 | 25 |
- gir1.2-secret-1 for GNOME Keyring or KDE support as password storage
|
| 26 | 26 |
- D-Bus running to have gajim-remote working
|
| 27 |
-- gir1.2-farstream-0.2, gir1.2-gstreamer-1.0 and gir1.2-gst-plugins-base-1.0 for audio and video calls
|
|
| 27 |
+- 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
|
|
| 28 | 28 |
- gir1.2-gupnpigd-1.0 for better NAT traversing
|
| 29 | 29 |
- gir1.2-networkmanager-1.0 for network lose detection
|
| 30 | 30 |
- gir1.2-geoclue-2.0 for sharing your location
|
| ... | ... | @@ -227,7 +227,10 @@ def detect_dependencies(): |
| 227 | 227 |
Gst.init(None)
|
| 228 | 228 |
conference = Gst.ElementFactory.make('fsrtpconference', None)
|
| 229 | 229 |
conference.new_session(Farstream.MediaType.AUDIO)
|
| 230 |
- _dependencies['AV'] = True
|
|
| 230 |
+ from gajim.gui.gstreamer import create_gtk_widget
|
|
| 231 |
+ sink, widget, name = create_gtk_widget()
|
|
| 232 |
+ if sink is not None:
|
|
| 233 |
+ _dependencies['AV'] = True
|
|
| 231 | 234 |
except Exception as error:
|
| 232 | 235 |
log('gajim').warning('AV dependency test failed: %s', error)
|
| 233 | 236 |
|
| ... | ... | @@ -91,7 +91,8 @@ def _get_features(self): |
| 91 | 91 |
app.is_installed('AV'),
|
| 92 | 92 |
_('Enables Gajim to provide Audio and Video chats'),
|
| 93 | 93 |
_('Requires: gir1.2-farstream-0.2, gir1.2-gstreamer-1.0, '
|
| 94 |
- 'gstreamer1.0-libav, gstreamer1.0-plugins-ugly'),
|
|
| 94 |
+ 'gstreamer1.0-plugins-base, gstreamer1.0-plugins-ugly, '
|
|
| 95 |
+ 'gstreamer1.0-libav, and gstreamer1.0-gtk3'),
|
|
| 95 | 96 |
_('Feature not available under Windows'),
|
| 96 | 97 |
None),
|
| 97 | 98 |
Feature(_('Automatic Status'),
|