On 04.04.2013 12:47, Robin Burchell wrote:
Hi,

On Thu, Apr 4, 2013 at 10:38 AM, Juho Hämäläinen
<[email protected]> wrote:
tl;dr; deny audio playback for unclassified apps/streams after next Mer
release.

How do you plan to do this? I'd imagine that if you do this directly
in Mer, it's going to have a negative impact on Plasma Active for
instance, as the policy framework is a fairly new introduction, and I
doubt they have had time to look into using it yet.

Like you mentioned below, it's not done in Mer level, Mer doesn't even
have policy framework stuff. But Nemo has and resource manager can be
configured so that unclassified (ie. "othermedia" in resource
configuration) is not allowed to play ever. Current configuration let's
othermedia to play if nothing else is playing, so new configuration is
one step more strict.

This change is done only in Nemo n9xx variants since I can't test others
currently. If other variants have working policy framework in place
(ohmd and friends and policy-settings) more strict configuration can
probably be enabled there as well.

I'm suggesting that playback is denied for unclassified streams or apps that
don't request audio resources or aren't otherwise known to resource policy
manager. That way it's easy to detect apps that don't implement resource
handling and again they can be fixed. It effectively means that unclassified
streams are corked and muted.

This sounds like a sensible decision for platforms where policy
framework is used. Having audio/video appear to work whilst having
side effects is not a good thing.

Known apps that do not work with the change:
  - Music Player (qmlmusicplayer)

It was using Phonon. The newly released version (in nemo:devel:apps)
is using QtMultimediaKit, so that may have changed. Can you check
again?

Yes, you are right. Latest qmlmediaplayer with latest qt-mobility
(currently in Mer prerelease) works fine.

--
juho


Reply via email to