Client view keeps reloading

We have created an app that manages Zoom meetings using S2S App, and an embedded integration on our website that loads the Client View, but after upgrading from JWT to SDK Token, the Client View keeps reloading, so the meeting never starts.

What is wrong here?

<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="CphHeaderScriptZone">
    <!-- Common for Views Types -->
    <script src="https://source.zoom.us/2.14.0/lib/vendor/react.min.js"></script>
    <script src="https://source.zoom.us/2.14.0/lib/vendor/react-dom.min.js"></script>
    <script src="https://source.zoom.us/2.14.0/lib/vendor/redux.min.js"></script>
    <script src="https://source.zoom.us/2.14.0/lib/vendor/redux-thunk.min.js"></script>
    <script src="https://source.zoom.us/2.14.0/lib/vendor/lodash.min.js"></script>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="CphFreeContainerZone">
    <asp:HiddenField ID="HdfMeetingTopic" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CphWorkspaceZone" runat="Server">
    <div id="zoomMeetingRoomArgs" class="mdf-zoomws-menu">
        <div id="zmmtg-root" style="display: flex;"></div>
        <div id="aria-notify-area"></div>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="CphBottomScripts" runat="Server">
    <!-- For Client View -->
    <script src="https://source.zoom.us/zoom-meeting-2.14.0.min.js"></script>
    <script type="text/javascript">
        //<![CDATA[
        $(function() {
            if (ZoomMtg) {
                ZoomMtg.preLoadWasm();
                ZoomMtg.prepareWebSDK();

                // loads language files, also passes any error messages to the ui
                ZoomMtg.i18n.setSupportLanguage(['en-US', 'es-ES']); <%-- --%>

                // The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.
                // According to the Zoom example, this is only necessary if the meeting is with China
               ZoomMtg.setZoomJSLib('https://source.zoom.us/2.14.0/lib', '/av'); 
                
                // Events subscriptions...
                ZoomMtg.inMeetingServiceListener('onUserJoin', function (data) {
                    if (!data) return;
                    console.log("User Join event: ", data);
                });

                ZoomMtg.inMeetingServiceListener('onUserLeave', function (data) {
                    if (!data) return;
                    console.log("User Leave event: ", data);
                });

                ZoomMtg.inMeetingServiceListener('onUserIsInWaitingRoom', function (data) {
                    if (!data) return;
                    console.log("User Waiting event: ", data);
                });

                ZoomMtg.inMeetingServiceListener('onMeetingStatus', function (data) {
                    // {status: 1(connecting), 2(connected), 3(disconnected), 4(reconnecting)}
                    if (!data) return;
                    console.log("Meeting Status event: ", data);
                });
            
                StartMeeting();
            } else {
                MDFControl.ToastMessage("<%=Resources.ExceptionResources.UIE0035%>", 3);
            }
        });

function StartMeeting() {
            const signatureToken = '<%=MeetingSignature%>' ;
            ZoomMtg.init({
                leaveUrl: '<%=LeaveMeetingUrl%>',
                isSupportAV: true,
                isSupportChat: true,
                success: function(/*iRes*/) {
                    console.log('Init action success: ', iRes);
                    
                    ZoomMtg.join({
                        sdkKey: '<%=AuthKey%>',
                        signature: signatureToken,
                        meetingNumber: '<%=MeetingNumber%>',
                        userName: '<%=MeetingUserName%>',
                        userEmail: '<%=MeetingUserEMail%>',
                        passWord: '<%=MeetingPassCode%>',
                        success: function(jRes) {
                            console.log('Join action success: ', arguments);
                        },
                        error: function(eRes) {
                            console.error("Join action fail! ", eRes);
                        }
                    });
                },
                error: (error) => {
                    console.error("Init meeting fail! ", error);
                }
            });
        }

Thanks!

We found something strange with this problem: the initialization screen keeps reloading constantly, but if we manage to click on the start meeting button, the problem disappears, and the problem no longer occurs in that terminal. Any idea why this is happening? Please help!

Hello,
Here is another update on this issue:
The preview to start the meeting loads stable in some terminals and allows you to start or join the meeting; in others, it reloads constantly.
We eventually noticed that if you were able to click on the Start/Join Meeting button on a PC where this initial view kept reloading, the issue wouldn’t happen again on that PC.
Now we have detected that the problem occurs when you try to initialize the camera and microphone. On the PC, where this screen normally loads, when you try to interact with these controls, it reloads, not allowing you to make changes to these camera and microphone settings.
We need help with this issue! Could anybody give us some feedback?

Tranks!

Hello guys,
I apply a simple fix in the init function settings: I disable the preview, and that’s it.
But the problem is still very strange; if someone has something to say, I’d appreciate it.