From: Guillaume Pellerin Date: Mon, 1 Sep 2025 09:09:20 +0000 (+0200) Subject: add pulseaudio params, -e option for engine X-Git-Tag: 4.3.0~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3537587e8c1c8bff0f628ca390d4328a7d82e197;p=telecaster-server.git add pulseaudio params, -e option for engine --- diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index 663bcee..0fbaf6c 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -61,7 +61,7 @@ PARAMS = { "jack_connect system:capture_1 mp3_streaming_audio:in_jackaudiosrc0_1", "jack_connect system:capture_2 mp3_streaming_audio:in_jackaudiosrc0_2" ] -}, + }, "pipewire": { "engine": "pipewire", "options": "", @@ -72,6 +72,17 @@ PARAMS = { "gst_audio_options": "target-object={target_object}", "tools": ["qpwgraph", "konsole"], "connect":"" + }, + "pulseaudio": { + "engine": "pulseaudio", + "options": "", + "gst_video_source": "pipewiresrc", + "gst_video_options": "", + "gst_video_device": "target-object=v4l2:{device}", + "gst_audio_source": "pulsesrc", + "gst_audio_options": "device={target_object}", + "tools": ["qpwgraph", "konsole"], + "connect":"" } } @@ -295,7 +306,7 @@ def main(): parser.add_argument("-v", "--verbose", help="verbose", action="store_true") parser.add_argument("-d", "--dry-run", help="dry run", action="store_true") parser.add_argument("-t", "--tools", help="start tools", action="store_true") - parser.add_argument("-ae", "--audio-engine", help="start audio engine", action="store_true") + parser.add_argument("-e", "--engine", help="start engine", action="store_true") args = vars(parser.parse_args()) if os.path.exists(DEFAULT_CONFIG_FILE) and not args["config"]: args['config'] = DEFAULT_CONFIG_FILE