Description
The behaviour is such that, when a user joins the meeting, the audio starts normally and works fine. But when the user joins the subsession, the audio does not start, instead it keeps returning a ‘REQUEST TIMEOUT’ error on the console.
The same happens when the user returns from the subsession to join the main session, the audio would not just start and returns a ‘REQUEST TIMEOUT’ error.
Please is there any reason for this unending loading/request timeout error? And why it works when the user joins the meeting, but when switching to/from the subsessions, it just doesn’t work?
Browser Console Error
REQUEST TIMEOUT
Which Web Video SDK version?
I recently upgraded to the latest SDK version 1.9.5.
Video SDK Code Snippets
const onMicrophoneClick = useCallback(async (action: string) => {
if (isStartedAudio) {
if (action === 'unmute' && isMuted) {
await mediaStream?.unmuteAudio();
setIsMuted(false);
} else if(action === 'mute' && !isMuted) {
await mediaStream?.muteAudio();
setIsMuted(true);
}
} else {
await mediaStream?.startAudio();
setIsStartedAudio(true);
await mediaStream?.muteAudio();
setIsMuted(true);
}
}, [
isMuted,
isStartedAudio,
mediaStream,
zmClient
]);
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Start the meeting
- Create and open subsessions
- Join subsession as participant (not as host)
- See error
Device (please complete the following information):
- Browser: Chrome