Not able to know when the meeting was ended when using component view

Hi there, I was using the component view for the zoom meetings, everything was working fine as expected but I was not able to know when the meeting ended. I need my page to get refreshed when a meeting ends.

I need to call some APIs when the meeting was ended but not able to do that as I’m getting to know when the meeting ends

This was the code used for joining the meeting

  // joining the call.
  startMeeting(signatureToken: string) {
    const callerName = localStorage.getItem('dispaly_name');
    const element = this.requestDetails.element;
    const client = element.createClient();
    const meetingSDKElement = document.getElementById('meetingSDKElement');
    this.isLoading = false;
    client.init({
      zoomAppRoot: meetingSDKElement,
      customize: {
        video: {
          isResizable: false,
          popper: {
            disableDraggable: true,
            placement: 'top',
          },
          viewSizes: {
            default: {
              width: 750,
              height: 420,
            },
            ribbon: {
              width: 150,
              height: 350,
            },
          },
        },
        chat: {
          popper: {
            disableDraggable: true,
            anchorElement: meetingSDKElement,
            placement: 'left',
          },
        },
      },
    });
    client.join({
      sdkKey: this.sdkKey,
      signature: signatureToken,
      meetingNumber: this.meetingDetails.id,
      password: this.passWord,
      userName: callerName,
    });
    this.requestDetails.action_type === callActions[0]
      ? this.setDirectCall()
      : this.setScheuleCall();
    this.authtokenService.setIsCallInitiated(true);
  }

I am using web SDK - 2.6.0
Environment: Angular 12
Browse: Chrome (107.0)

Hi @saideepj
Thanks for reaching out to the Zoom Developer Forum and welcome to our community!
Have you tried our webhooks? By subscribing to an event, you will get a notification when the meeting ends

Let me know if this helps!
Best,
Elisa

Hello Elisa, thanks for getting back, I have tried the above solution but it doesn’t seem to work.
I am using the free account is that the reason?

And is there any other way for this issue?

Thanks!

@saideepj,

Sorry for the missed response, please see this post for reference on detecting when the meeting ended :