Choppy audio playing a videofile through webrtcsink
Vincent Deconinck via gstreamer-devel <[email protected]> Wed, 15 Nov 2023 23:39:02 +0100
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CAP7wq6ysRvT2w2ZS1XN3oDmRra2R4zq1QC74TndrnjGG3FRiLg@mail.gmail.com> |
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