Commit 972848f2 authored by Emanuele Aina's avatar Emanuele Aina

web-runtime: Draft a section about integration with audio management

This is just a little more than a stub for the moment and produces a
warning during build as the audio management document has not
landed yet.
Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
Differential Revision: https://phabricator.apertis.org/D4833
parent cff07782
......@@ -326,6 +326,15 @@ Cached files are stored in the per-application, per-user cache directory,
as specified by the *Data Storage* section of the [Applications design document],
and as pointed to by the `$XDG_CACHE_HOME` environment variable.
### Audio management
Audio playback must be routed through PulseAudio
to ensure that the correct policies are applied
as mandated in the [Audio Management document].
To enforce this constraint, the application's AppArmor profile
must not allow direct access to audio device nodes.
This is the same requirement that applies to non-web applications.
### Platform APIs
Access to the native APIs provided by the platform
......@@ -478,3 +487,4 @@ Resources=https://addressbook.example.com;https://cdn.example.com;
[executable script]: https://appdev.apertis.org/documentation/bundle-spec.html#executables
[AppArmor profile]: https://appdev.apertis.org/documentation/bundle-spec.html#apparmor-profile
[generic resource data]: https://appdev.apertis.org/documentation/bundle-spec.html#generic-resource-data
[Audio Management document]: audio-management.md
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment