summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-07-03 18:52:33 +0200
committerThierry Bultel <thierry.bultel@iot.bzh>2018-07-11 13:33:30 +0200
commit11d2ae972c434453f09a7ffe66a8c202efbce2a5 (patch)
tree9d02251b24e6a895405dd353587f0c468c84cc43 /conf.d/project/etc
parente2e78437b472dc40e605cdcd895804105a680a1f (diff)
This defines a new 'radio' role that uses the radio_stream Also implements the new mute/unmute actions, that are forwarded to the softmixer. Now registers to a client (multimedia player, radio service ...) disconnection, to properly free the leased role. Change-Id: Ic15fb63cd90ba28f3978c67d917a77ed6b030e08 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'conf.d/project/etc')
-rw-r--r--conf.d/project/etc/policy-4a-sample1.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/conf.d/project/etc/policy-4a-sample1.json b/conf.d/project/etc/policy-4a-sample1.json
index a1aebcd..673caa7 100644
--- a/conf.d/project/etc/policy-4a-sample1.json
+++ b/conf.d/project/etc/policy-4a-sample1.json
@@ -14,8 +14,14 @@
"events": [],
"roles":[
{
+ "uid": "radio",
+ "description": "Radio (tuner)",
+ "priority": 0,
+ "stream": "radio_stream"
+ },
+ {
"uid": "multimedia",
- "description": "Multimedia content (e.g. tuner, media player, etc.)",
+ "description": "Multimedia content (e.g. media player, etc.)",
"priority": 0,
"stream": "multimedia"
},