comparison libervia/frontends/tools/webrtc.py @ 4274:2992f9d1e039

frontends (tools/webrtc): fix typo resulting in bad pipeline for audio.
author Goffi <goffi@goffi.org>
date Fri, 05 Jul 2024 16:27:52 +0200
parents 0d7bb4df2343
children
comparison
equal deleted inserted replaced
4273:9308b2d15fd2 4274:2992f9d1e039
596 ) 596 )
597 597
598 if audio_source_elt: 598 if audio_source_elt:
599 # Audio with a valve for muting. 599 # Audio with a valve for muting.
600 gst_pipe_elements.append( 600 gst_pipe_elements.append(
601 r""" 601 f"""
602 {audio_source_elt} name=audio_src 602 {audio_source_elt} name=audio_src
603 ! valve 603 ! valve
604 ! queue max-size-buffers=10 max-size-time=0 max-size-bytes=0 leaky=downstream 604 ! queue max-size-buffers=10 max-size-time=0 max-size-bytes=0 leaky=downstream
605 ! audioconvert 605 ! audioconvert
606 ! audioresample 606 ! audioresample