diff options
author | Scott Murray <scott.murray@konsulko.com> | 2019-12-29 21:05:27 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2019-12-29 21:12:33 -0500 |
commit | 5279260ee250060b86212e41fe2522db9bcb173d (patch) | |
tree | 810b76ac37b9dca58467c77e78446c079970c4b6 /conf.d | |
parent | 9a4ec5a5793ce904333f6087cf31d7819206c101 (diff) |
Add signal-composer voice event support
Add support for triggering listening (push-to-talk/PTT) via the
signal-composer "event.voice" event. This enables PTT from the
steering wheel for the CES demo.
Note that this relies on a fix to signal-composer to add the
session context uuid to the replies from event subscribe calls.
Without that, it's not feasible to catch the signal-composer
events with the libappcontroller event scheme and some more
significant rework would be required.
Bug-AGL: SPEC-3048
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I22c7265c2f08ecc0a598fd88ddf4fd53f8c3e880
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/project/etc/vshl-core-api.json | 7 | ||||
-rw-r--r-- | conf.d/wgt/config.xml.in | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/conf.d/project/etc/vshl-core-api.json b/conf.d/project/etc/vshl-core-api.json index 9121353..001ac42 100644 --- a/conf.d/project/etc/vshl-core-api.json +++ b/conf.d/project/etc/vshl-core-api.json @@ -4,13 +4,18 @@ "uid": "vshl-core", "version": "1.0", "api": "vshl-core", - "info": "High Level Voice Service Core APIs" + "info": "High Level Voice Service Core APIs", + "require": ["signal-composer"] }, "onload": [{ "uid": "loadVoiceAgentsConfig", "info": "Loading the information about voice agents managed by the high level voice service.", "action": "plugin://vshl-core#loadVoiceAgentsConfig", + }, { + "uid": "subscribeVoiceTriggerEvents", + "info": "Subscribe to voice recognition triggering events.", + "action": "plugin://vshl-core#subscribeVoiceTriggerEvents", }], "plugins": [{ diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in index 3c0b0a0..ee70db0 100644 --- a/conf.d/wgt/config.xml.in +++ b/conf.d/wgt/config.xml.in @@ -17,4 +17,7 @@ <param name="urn:AGL:permission::public:hidden" value="required" /> <param name="urn:AGL:permission::platform:apis:auto-ws" value="required" /> </feature> + <feature name="urn:AGL:widget:required-api"> + <param name="signal-composer" value="ws" /> +</feature> </widget> |