https://retellai.com/?utm_source=discord&utm_medium=seo logo
Audio playback not working on mobile browsers
# ❓・bug-report
s
Hi, has anything changed with the client js sdk recently? I've noticed that playback on desktop browser is working, but it isn't playing audio on mobile browsers. Wondering if there have been any changes here recently as I'm debugging this issue
r
@Weijia - Support@Retell cc
s
one thing I've noticed - This line (https://github.com/RetellAI/retell-client-js-sdk/blob/main/src/index.ts#L232) is deciding which browsers use audio worklets, but this rules out chrome on mobile and all safari browsers, not sure if that's intentional
Sorry for all the pings, I just tried to recreate the web call instructions in the docs (https://docs.retellai.com/make-calls/web-call#call-register-call-to-get-call-id). It seems to be working on the desktop but not on mobile browsers.
Hey @retellai @Weijia - Support@Retell, is there a timeline for your team to look at this? I'm assuming this affects everyone who is building browser-based projects
w
Hey @shobot , are you using our SDK? If you go to our website and tried the web call on mobile. Did it work for you? https://www.retellai.com/
s
@Weijia - Support@Retell yes it works for me, is it using the updated version of your client sdk?
@Weijia - Support@Retell one more data point - I tried a test agent (agent id 64ba92f79428460bc378029da64692e3) directly through the retell portal. It works on my desktop browser but it does not work on the mobile browser.
Hey @retellai @Weijia - Support@Retell I know you guys are busy with demo day and all so I understand delays in response, but whenever you guys have a chance I'd love some support here. I've tried it on 2 different cell phones and confirmed that web calls through the retell portal don't work on cell phones even though the same agents work on desktop browsers. It's been 2 full days of debugging and this is delaying some demos 😦
w
@shobot yes, it is using the SDK. Which version of the SDK are you using? Sorry for the late response too, we will work with you through this problem this week to make sure you are unblocked by this weekend!
s
@Weijia - Support@Retell I'm using the newest version of the SDK, 1.3.2
I thought it's interesting that when I try in the retell dashboard, agent 64ba92f79428460bc378029da64692e3 works in desktop browser but not mobile. I tried on 2 different phones so confirmed it's not just happening on my specific phone.
w
Hey @shobot can you try two things 1. Downgrade SDK to 1.3.1 2. Use elevenlabs audio instead of OpenAI
s
@Weijia - Support@Retell using elevenlabs instead of OpenAI seems to solve the problem!! Thanks for the tip, this was driving me crazy! Do you think I still need to downgrade the SDK? Also would be curious to understand what the issue was with OpenAI
w
Cool! You don't need to downgrade now but we will investigate the OpenAI issue. Glad your problem is unblocked now and let us know if you encounter any issue!
s
Thank you!!