summaryrefslogtreecommitdiff
path: root/voctocore/lib/pipeline.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/pipeline.py')
-rw-r--r--voctocore/lib/pipeline.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/voctocore/lib/pipeline.py b/voctocore/lib/pipeline.py
index 5a9ce3e..9addca0 100644
--- a/voctocore/lib/pipeline.py
+++ b/voctocore/lib/pipeline.py
@@ -12,17 +12,9 @@ from lib.audiomix import AudioMix
class Pipeline(object):
"""mixing, streaming and encoding pipeline constuction and control"""
- log = logging.getLogger('Pipeline')
-
- sources = []
- mirrors = []
- previews = []
-
- vmix = None
- amix = None
- mixout = None
def __init__(self):
+ self.log = logging.getLogger('Pipeline')
self.log.info('Video-Caps configured to: %s', Config.get('mix', 'videocaps'))
self.log.info('Audio-Caps configured to: %s', Config.get('mix', 'audiocaps'))
@@ -30,6 +22,10 @@ class Pipeline(object):
if len(names) < 1:
raise RuntimeException("At least one AVSource must be configured!")
+ self.sources = []
+ self.mirrors = []
+ self.previews = []
+
self.log.info('Creating %u Creating AVSources: %s', len(names), names)
for idx, name in enumerate(names):
port = 10000 + idx