Using JWT Token but Cant read Event Listener USER_LEFT

I am trying to use Video Conference for Teacher and Student relation with JWT Token and successfully connect. When I am trying to read JitsiMeetJS.events.conference.USER_LEFT. It shows connection fail in console log.

We are using API -> https://github.com/jitsi/lib-jitsi-meet/blob/master/doc/API.md

I want to find User Role through API with JWT Token. Please suggest.