smartdevicelink / generic_hmi

A sample HMI to use with sdl_core
BSD 3-Clause "New" or "Revised" License
8 stars 27 forks source link

HMI sends TIMED_OUT instead of SUCCESS if maxDuration is reached in PerformAudioPassThru #510

Closed jacobkeeler closed 2 years ago

jacobkeeler commented 2 years ago

Bug Report

HMI responds to PerformAudioPassThru with TIMED_OUT after maxDuration has passed. This timer is supposed to start after UI.OnRecordStart is received, and the HMI is supposed to still send SUCCESS once the full duration has elapsed.

Reproduction Steps
  1. Send "PerformAudioPassThru" with initialPrompt included and maxDuration of 10000
Expected Behavior

HMI speaks initialPrompt, and 10 seconds after receiving UI.OnRecordStart the app receives a SUCCESS response

Observed Behavior

HMI speaks initialPrompt, and 10 seconds after receiving UI.PerformAudioPassThru the app receives a TIMED_OUT response

Browser & Version Information
theresalech commented 2 years ago

Closed via #517