@vic.yang Thanks for your help. Could you take a look at this as well? Below is a summary of the issue we’re facing:
During some meetings, certain users (referred to as “BOTs,” which run on headless browsers using Puppeteer) are unable to hear the other speaker. The affected session IDs are:
9aF8YPhEQgaHxr4hoZwG3w==
UsIoxcsDSgerPxuK2NZwIQ==
Upon analyzing the logs, you found that these two BOT users did not successfully start audio, possibly due to the browser’s autoplay policy requiring user interaction.
Questions:
If the issue is related to the browser’s autoplay policy, we’re curious why it occurs randomly and not consistently across all BOT ? (Each BOT runs on an EC2 instance with the same configuration, logic code, and separate sessions)
We’ve only been able to reproduce the problem when forcing the override of HTMLMediaElement.prototype.play to always throw error. However, in practical scenarios, we’re unable to reproduce it again. Do you have any suggestions on how we might reproduce this issue? (We need to reproduce the issue to ensure we’re addressing the correct root cause and to validate that the fix is effective)
@vic.yang Sorry, we haven’t been able to reproduce the issue to capture detailed logs again. Do you have any suggestions for how we might reproduce it again?
Sorry, we haven’t tested the BOT case, but in the browser, opening a new incognito window and then programmatically calling startAudio immediately after joining the session can reproduce this issue. The root cause is the auto-play policy.
@vic.yang Thank you for your support. We followed these steps but were still unable to reproduce the error:
User A creates and joins a meeting with the microphone on.
In an incognito window, user B joins the meeting and starts audio immediately.
In this scenario, User B is still able to hear User A without any user interaction.
Could you confirm if the steps above are correct?
Also, thank you for confirming that the root cause is related to the autoplay policy — we’ll focus our investigation in that direction.
Hi @vic.yang,
Could you please check the session VyRxA26AQsSr/A4nch70IA==? We’re currently experiencing the same error again — no speaker or microphone, and the BOT user is unable to hear others speaking.
Could this be related to the browser’s autoplay policy requiring user interaction again?
Hi @vic.yang, sorry to bother you again. Could you please help us check the latest BOT user that joined this session: BtO+9ZrWS+uneAТ+mipkqw==
The speaker appears to be blank again. Can you check whether startAudio was triggered? If it were, may it fail due to the browser’s autoplay policy??
It seems the BOT is not listening to the connection-changed or user-removed events when another user leaves the meeting or when the host ends the session for everyone. Could you check whether the BOT on the user’s client is successfully listening for those events?
Is it possible that the BOT is frozen on the client side, which is why it’s not performing actions or responding to events as expected?
We’re in the process of adding telemetry to report detailed logs to Zoom, so we’ll have more information to share with you in the future. However, for now, could you please help confirm the points mentioned above? Thank you very much!
We’ve added telemetry to report detailed logs to Zoom. Could you help check what happened with the BOT user that caused the blank speaker issue on the management page?
In these cases, our logs did not show the BOT receiving the auto-play-audio-failed event, nor did we find any startAudio errors.
Could there be another underlying cause unrelated to the browser’s autoplay policy?
@vic.yang
Thank you for your feedback.
Could you please check the logs for these session IDs to see if the BOT users called the startAudio function?
I noticed that the Zoom dashboard shows a blank speaker for those sessions.
Thanks for sharing the details. I agree, the random behavior is puzzling; let’s dig into consistent reproduction steps so we can confirm if autoplay policy is truly the cause.