Hello,
tl;dr; deny audio playback for unclassified apps/streams after next Mer
release.
Currently policy framework starts to be in usable state and that means
(audio/video) resource policy manager is functional as well. With the
upcoming Mer release qt-mobility's resource policy integration is also
enabled.
Since resource policy works it is in the best interest of all that all
audio/video applications behave as nice resource-using citizens. That
means all audio/video applications should request resources and use
resources only when they are granted. When there is higher priority
application running all other apps get notification of resource use and
can pause their playback, continue when resources are available, etc.
all in all everything plays together more nicely.
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.
Known apps that do not work with the change:
- Music Player (qmlmusicplayer)
Info about audio and how to work with resource policy in wiki:
https://wiki.merproject.org/wiki/Nemo/Audio
This change would happen after next Mer release with updated qt-mobility
if there are no objections.
--
juho