Choppy audio playing a videofile through webrtcsink

cfd new newcfd at yahoo.com
Wed Nov 15 22:52:19 UTC 2023


 
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 <gstreamer-devel at lists.freedesktop.org> 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
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20231115/ec78a329/attachment.htm>


More information about the gstreamer-devel mailing list