]> git.parisson.com Git - telecaster-server.git/commitdiff
better naming
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 31 Mar 2025 12:46:23 +0000 (14:46 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 31 Mar 2025 12:46:23 +0000 (14:46 +0200)
bin/streaming/telecaster.py

index cca5b9dc32da5d69e2dfd82813bf5322d0fc4e87..303f3bc906ba9fd7b094fb655f6db09abce05738 100755 (executable)
@@ -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 \