我具有使用addVideoAppLaunchDirective()播放的Alexa技能。我的问题是,当我使用停止意图停止技能时,Alexa仅以我给的文本作为响应,然后视频继续播放。出于停止的目的,我想完全停止视频流。
我在停止意图期间执行的代码如下
handle(handlerInput) {
const speakOutput = 'Goodbye!';
return handlerInput.responseBuilder
.speak(speakOutput)
//.withShouldEndSession(true)
//.stop()
.getResponse();
}