Re: Choppy audio playing a videofile through webrtcsink

cfd new via gstreamer-devel <[email protected]> Wed, 15 Nov 2023 22:52:19 +0000 (UTC)
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <[email protected]>
 
Can you export GST_DEBUG=5 to see warning/error messages?I have similar issue while streaming to youtube, but no problem to LAN or Wi-Fi.
   Joe
    On Wednesday, November 15, 2023, 05:39:19 p.m. EST, Vincent Deconinck via gstreamer-devel <[email protected]> wrote:  
 
 Hi,
I made some progress in my quest to stream video files to a browser using webrtcssink, but audio is not OK. I built the following pipeline:
+-----------------------------------------------------------------------------+
| uridecodebin.audio ->- audioconvert ->- audioresample ->- webrtcssink.audio |
| uridecodebin.video ----->----- videoconvert ------>------ webrtcssink.video |
+-----------------------------------------------------------------------------+

The webrtcsink pads are statically linked, and the uridecodebin pads are dynamically linked upon "pad_added" signal (as in https://gstreamer.freedesktop.org/documentation/tutorials/basic/dynamic-pipelines.html ).

Problem: The video looks OK in the browser, but the audio is choppy. A quick and dirty (sorry) video tells a thousand words: https://youtu.be/1EbPHLZvVLc?t=27

(using signalling server, JS API and gstreamer built 2 days ago from git HEAD)

I was first using the http URI to the source video but I also tried using a local copy of the file, to no avail.

Any idea what could be wrong ? Or an idea how I could track down that issue ?

Kind regards,

Vincent