Is it possible to init a new client after having a meeting using the component view

Description
Using the component view after having a meeting, is it possible to initialize a new client without having to do a full page refresh?

Browser Console Error
Init Error TypeError: Cannot assign to read only property ‘video’ of object ‘#’
at zoomus-websdk-embedded.umd.min.js:2:1
at Array.forEach ()
at Die.init (zoomus-websdk-embedded.umd.min.js:2:1)
at onClick (VideoRequestButton.js:267:1)

Which Web Meeting SDK version?
@zoomus/websdk: 2.9.7

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Start a meeting
  2. End the meeting
  3. Try to initialize the zoom client again with any kind of customization, eg
client.init({
  zoomAppRoot: document.getElementById('zoomSDK'),
   language: 'en-US',
   customize: {
     video: {
        viewSizes: {
           default: {
              height: 240,
               width: 240,
            },
         },
      },
   },
})

Troubleshooting Routes
I have tried using ZoomMtgEmbedded.destroyClient() but it has no effect

Additional context
I will sometimes need to create a new client with custom buttons

in the newer versions of websdk, you can destroy and re-create the client.

I would recommend trying out 2.11.0 for your scenario.

Going to version 2.11.0 fixed the issue I was having

Thanks

Hi @jmd11 ,

  • I have same the problem as you. But i still have this problem when i upgrade to 2.11.0.
    Could you please share the code ZoomMtgEmbedded.destroyClient() where you put this command?

Best regards,
John