Hi are you guys aware that the Livekit playground ...
# agents
l
Hi are you guys aware that the Livekit playground breaks when trying to connect on a non-English browser? E.g. even on an official Chrome browser, if there's an international translation, this error appears and the playground breaks. This may be a frontend issue better suited for another channel but it's causing an outage for a large number of international users. @lively-winter-88668 Steps to reproduce: 1. Open Livekit Agent frontend, e.g. official playground or KITT (https://kitt.livekit.io/), and Translate the page (e.g. chrome browser setting -> translate) into any language other than English. 2. Try connecting to the agent room. This seems to be a frontend react / next.js error, might have to do with how the elements are indexed and the different language causes a restructure (?), not sure.
l
Thanks for the report, I see what you mean, I tested with Chrome translating from Portuguese but I'm not sure what the full impact is. Let me discuss with the team.
l
You're welcome. Hopefully we can get this fixed soon, it seems to have been a long-standing problem. We have thousands of users and I only noticed during live session replays of errors. However, none of the dozens or hundreds of users that I witnessed experiencing this error ever reported it to us -- they simply churn and leave the page. So the impact is quite large I think, but understated since no one else reports it.
l
Can confirm this is in our backlog to get fixed, our ref DPRO-887.
l
Thanks!
Do we have an ETA on this? So I can keep my international customers informed, as they're blocked from using it right now.
l
Unfortunately not, though the team did do an initial triage and determined the fix is non-trivial. Apparently this impacts all React applications, which I didn't realise, but Googling this, it seems to be the case. I did ask the team as a stop-gap measure to disable translation if the full fix is non-trivial, at least this would prevent the errors.
✔️ 1
l
@lively-winter-88668 Can I get the diffs for the disable translation patch commit you guys did, so that I can follow the same pattern and pull it into my build? Thanks
l
Were there changes? The source code for the playground is here: https://github.com/livekit/agents-playground I just checked and the internal ticket to address this is still in the backlog, so I don't think there has been a patch.
l
I meant the disable translation, since it needs a patch to prevent auto-translation. I'll check the repo thanks