Hi @michi,
Since Beta7, command sent to TTS channel no longer interrupts on-going speech as quickly as in previous versions. This is quite problematic for me because I run a prioritized notification queue which allows a notification to be interrupted by a more important one (I handle a priority level) and restarted after the most urgent notification was completed. With latest Beta7, it behaves quite erratically.
See below my test: when I send sequentially 3 TTS commands, I would expect the first 2 to be interrupted and only hear the 3rd one. In the example below, I only hear the 2nd notification and 1st and 3rd seem to get lost.
22:38:22.082 [INFO ] [me.model.script.rules.sys.ItemCommand] - [EC_TTS] EC_mN2_Sdb_TTS received command Premi▒re notification
22:38:22.085 [INFO ] [me.model.script.rules.sys.ItemCommand] - [EC_TTS] EC_mN2_Sdb_TTS received command Seconde notification
22:38:22.099 [INFO ] [me.model.script.rules.sys.ItemCommand] - [EC_TTS] EC_mN2_Sdb_TTS received command Troisi▒me notification
22:38:22.476 [DEBUG] [amazonechocontrol.internal.Connection] - Call to https://alexa.amazon.fr/api/behaviors/preview succeeded
22:38:22.478 [DEBUG] [amazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.fr/api/behaviors/preview
22:38:22.479 [DEBUG] [amazonechocontrol.internal.Connection] - POST: {"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"type\":\"Alexa.Speak\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"GXXXXXXXXXXXXXXX\",\"locale\":\"\",\"customerId\":\"AAAAAAAAAAAAAA\",\"textToSpeak\":\"Seconde notification\"}}}","status":"ENABLED"}
22:38:22.890 [DEBUG] [amazonechocontrol.internal.Connection] - Call to https://alexa.amazon.fr/api/behaviors/preview succeeded
22:38:22.892 [DEBUG] [amazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.fr/api/behaviors/preview
22:38:22.893 [DEBUG] [amazonechocontrol.internal.Connection] - POST: {"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"type\":\"Alexa.Speak\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"GXXXXXXXXXXXXXXX\",\"locale\":\"\",\"customerId\":\"AAAAAAAAAAAAAA\",\"textToSpeak\":\"Troisi▒me notification\"}}}","status":"ENABLED"}
22:38:23.282 [DEBUG] [amazonechocontrol.internal.Connection] - Call to https://alexa.amazon.fr/api/behaviors/preview succeeded
22:38:23.348 [DEBUG] [ocontrol.internal.WebSocketConnection] - Message received: {"payload":"{\"destinationUserId\":\"AAAAAAAAAAAAAA\",\"key\":{\"entryId\":\"1555965505806#A7WXQPH584YP#GXXXXXXXXXXXXXXX\",\"registeredUserId\":\"AAAAAAAAAAAAAA\"},\"timestamp\":1555965506252}","command":"PUSH_ACTIVITY"}
22:38:23.350 [DEBUG] [amazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.fr/api/activities?startTime=1555965506252&size=10&offset=1
22:38:23.579 [DEBUG] [amazonechocontrol.internal.Connection] - Call to https://alexa.amazon.fr/api/activities?startTime=1555965506252&size=10&offset=1 succeeded
22:38:23.583 [DEBUG] [ocontrol.internal.WebSocketConnection] - Message handled: {"payload":"{\"destinationUserId\":\"AAAAAAAAAAAAAA\",\"key\":{\"entryId\":\"1555965505806#A7WXQPH584YP#GXXXXXXXXXXXXXXX\",\"registeredUserId\":\"AAAAAAAAAAAAAA\"},\"timestamp\":1555965506252}","command":"PUSH_ACTIVITY"}
22:38:23.648 [DEBUG] [ocontrol.internal.WebSocketConnection] - Message received: {"payload":"{\"destinationUserId\":\"AAAAAAAAAAAAAA\",\"key\":{\"entryId\":\"1555965506160#A7WXQPH584YP#GXXXXXXXXXXXXXXX\",\"registeredUserId\":\"AAAAAAAAAAAAAA\"},\"timestamp\":1555965506554}","command":"PUSH_ACTIVITY"}
22:38:23.650 [DEBUG] [amazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.fr/api/activities?startTime=1555965506554&size=10&offset=1
22:38:24.286 [DEBUG] [ocontrol.internal.handler.EchoHandler] - Handle updateState amazonechocontrol:echo:f71ef12f:GXXXXXXXXXXXXXXX
22:38:24.288 [DEBUG] [amazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.fr/api/np/player?deviceSerialNumber=GXXXXXXXXXXXXXXX&deviceType=A7WXQPH584YP&screenWidth=1440
22:38:29.937 [DEBUG] [ntrol.internal.handler.AccountHandler] - check login amazonechocontrol:account:f71ef12f
22:38:30.406 [DEBUG] [amazonechocontrol.internal.Connection] - Call to https://alexa.amazon.fr/api/activities?startTime=1555965506554&size=10&offset=1 succeeded
22:38:30.410 [DEBUG] [ocontrol.internal.WebSocketConnection] - Message handled: {"payload":"{\"destinationUserId\":\"AAAAAAAAAAAAAA\",\"key\":{\"entryId\":\"1555965506160#A7WXQPH584YP#GXXXXXXXXXXXXXXX\",\"registeredUserId\":\"AAAAAAAAAAAAAA\"},\"timestamp\":1555965506554}","command":"PUSH_ACTIVITY"}
22:38:30.411 [DEBUG] [ocontrol.internal.WebSocketConnection] - Message received: {"payload":"{\"destinationUserId\":\"AAAAAAAAAAAAAA\",\"key\":{\"entryId\":\"1555965506550#A7WXQPH584YP#GXXXXXXXXXXXXXXX\",\"registeredUserId\":\"AAAAAAAAAAAAAA\"},\"timestamp\":1555965506753}","command":"PUSH_ACTIVITY"}
22:38:30.413 [DEBUG] [amazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.fr/api/activities?startTime=1555965506753&size=10&offset=1
22:38:30.570 [DEBUG] [amazonechocontrol.internal.Connection] - Call to https://alexa.amazon.fr/api/activities?startTime=1555965506753&size=10&offset=1 succeeded
22:38:30.573 [DEBUG] [ocontrol.internal.WebSocketConnection] - Message handled: {"payload":"{\"destinationUserId\":\"AAAAAAAAAAAAAA\",\"key\":{\"entryId\":\"1555965506550#A7WXQPH584YP#GXXXXXXXXXXXXXXX\",\"registeredUserId\":\"AAAAAAAAAAAAAA\"},\"timestamp\":1555965506753}","command":"PUSH_ACTIVITY"}
22:38:44.507 [DEBUG] [ntrol.internal.handler.AccountHandler] - checkData amazonechocontrol:account:f71ef12f finished
Can you have a look and give a feedback on this?
Thank you
Wawa