[QMultimedia/GStreamer] Set the buffer size higher to avoid stuttering

Tracked by Jolla

asked 2020-06-01 21:01:59 +0200

updated 2020-06-01 21:09:47 +0200

This is something I and others have noticed for a while, trying to play a live stream (even with a simple 128kbps stream) with QtMultimedia ends up with a lot of stuttering and a awful experience, the shoutcast-sailfish dev actually created some patches which if safe should really be implemented:

https://api.merproject.org/package/show/home:wdehoog:gstreamer/gst-plugins-base

https://api.merproject.org/package/show/home:wdehoog/qtmultimedia

They simply increase the default buffer size which does help massively with stuttering and saves us implementing hacky workarounds like delays while the stream buffers.

edit retag flag offensive close delete

Comments

Using Received (https://openrepos.net/content/kempe/received), I get an acceptable result if I click twice on the radio station (except AAC streamings with XperiaX, which work with Jolla phone only)

objectifnul ( 2020-06-01 21:19:12 +0200 )edit
2

@objectifnul Seems like a compromise really (thank god I'm not the only one with the issue), the main reason I'm requesting this is I'm in the process of creating my own radio App and it's really something we shouldn't have to deal with, hopefully Jolla can try these patches

Allstar12345 ( 2020-06-01 22:28:17 +0200 )edit

Which devices do you and others experience the stuttering on? Does it apply to all of them?

flypig ( 2020-06-12 16:32:59 +0200 )edit
1

@flypig Myself I've tested on a Jolla phone, I have a tester with a Jolla Phone and Jolla tablet and the creator of the patches above used a Oneplus One if I remember correctly, it applies to all devices. I can record a video of the issue if you would like?

Allstar12345 ( 2020-06-12 16:39:05 +0200 )edit