From dc5104d4254c9789a9b1ebce4543f0558e56aaac Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Sun, 29 Dec 2019 21:05:27 -0500 Subject: 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 Change-Id: I22c7265c2f08ecc0a598fd88ddf4fd53f8c3e880 --- conf.d/project/etc/vshl-core-api.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'conf.d/project/etc') 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": [{ -- cgit 1.2.3-korg