From: Guillaume Pellerin Date: Mon, 31 Mar 2025 12:46:23 +0000 (+0200) Subject: better naming X-Git-Tag: 4.1.0~32 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=596245af703c9ad662c37f758237ba3ca3794d3b;p=telecaster-server.git better naming --- diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index cca5b9d..303f3bc 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -10,14 +10,14 @@ from threading import Thread from copy import deepcopy -VIDEO_PIPELINE_BASE="""{video_source} {video_options} client-name="video_streaming_{id}" \ +VIDEO_PIPELINE_BASE="""{video_source} {video_options} client-name="webm_streaming_video_{id}" \ ! {format}, width={width}, height={height}, framerate={framerate}/1 \ ! queue ! {decoder} \ ! queue ! videoflip method={flip} \ ! queue ! videoconvert \ ! queue ! vp8enc threads=4 deadline=2 target-bitrate={vp8_bitrate} \ ! queue ! muxout. \ - {audio_source} {audio_options} ! audio/x-raw, format=F32LE, channels={channels} \ + {audio_source} {audio_options} client-name="webm_streaming_audio_{id}" ! audio/x-raw, format=F32LE, channels={channels} \ ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ ! queue ! volume volume={gain_pre} \ ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \ @@ -30,7 +30,7 @@ VIDEO_PIPELINE_BASE="""{video_source} {video_options} client-name="video_streami ! queue ! shout2send ip={ip} port={port} password={password} mount=telecaster_live_{id}.webm """ -AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} client-name="audio_streaming" ! audio/x-raw, format=F32LE, channels={channels} \ +AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} client-name="mp3_audio_streaming" ! audio/x-raw, format=F32LE, channels={channels} \ ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ ! queue ! volume volume={gain_pre} \ ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \