Thank you for reaching out to the Zoom Developer Forum. It looks like the meetingConfig variable is defined in a different scope than where it is used. This is because the definition of meetingConfig is in the websdkready() function while the call to init() and join() are in the beginJoin function.