From 5279260ee250060b86212e41fe2522db9bcb173d 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 ++++++- conf.d/wgt/config.xml.in | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'conf.d') 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 @@ + + + -- cgit