jambonz / jambonz-webapp

A simple provisioning web app for jambonz
MIT License
5 stars 20 forks source link

Show latency for TTS on the waveform #358

Closed davehorton closed 7 months ago

davehorton commented 7 months ago

Similar to how we show the STT latency, we should also show the latency for TTS. Hopefully this will not be too difficult since we already have the tts latency reported on the tracing spans.

The latency for TTS should be displayed similarly (in the form of a region) but it should be on the lower audio track since that is where the audio playback is occurring. The region should be clickable and when you click it you should get a popup showing:

Also, we should one color for the regions for TTS which was generated, and a different color for TTS which was retrieved from cache. As with the STT latency we should display the latency in secs next to each region.

xquanluu commented 7 months ago

Screenshot 2023-12-04 at 23 45 08 Deployed to jambonz.me