From 688965081e75347ccdf1bf33f1c684593472f1b6 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Fri, 14 Jun 2019 20:20:29 +0100 Subject: [PATCH] Fix streaming part1 --- openlp/core/ui/media/mediatab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/media/mediatab.py b/openlp/core/ui/media/mediatab.py index 251d2e3e9..113d1238c 100644 --- a/openlp/core/ui/media/mediatab.py +++ b/openlp/core/ui/media/mediatab.py @@ -32,10 +32,10 @@ from openlp.core.common.i18n import translate from openlp.core.common.settings import Settings from openlp.core.lib.settingstab import SettingsTab from openlp.core.ui.icons import UiIcons -#vlc v4l2:///dev/video0:v4l2-standard= :input-slave=alsa://hw:0,0 :live-caching=300 + LINUX_STREAM = 'v4l2://{video}:v4l2-standard= :input-slave=alsa://{audio} :live-caching=300' WIN_STREAM = 'dshow://:dshow-vdev={video} :dshow-adev={audio} :live-caching=300' -OSX_STREAM = 'avcapture://{video}:qtsound://{audio}:live-caching=300' +OSX_STREAM = 'avcapture://{video}:qtsound://{audio} :live-caching=300' log = logging.getLogger(__name__)