[Development] New Qt Multimedia

Alberto Mardegan mardy at users.sourceforge.net
Fri May 28 15:31:55 CEST 2021


On 28/05/21 11:09, Lars Knoll wrote:
> Before we go into the topics below, can we take a step back, please? I’d first like to know *why* you were developing and maintaining your own multimedia backend.

In short, because of lifecycle. In Ubuntu Touch, applications are
stopped when in the background, so the system offers services which
provide support for long-running operations.
One of them is playing audio: our QtMultimedia plugin is little more
than a thin D-Bus library that delegates all the work to a D-Bus service
(which itself is running GStreamer).

Besides that, the media service also pauses the music when a phone call
comes or an alert sound arrives, and has logic for a few other cases
that would be hard (if not impossible) to achieve for a confined
application.

Ciao,
  Alberto

-- 
http://www.mardy.it - Geek in un lingua international


More information about the Development mailing list