Fixes attaching onended handler when using Temasys.
Fixes attaching onended handler when using Temasys.

dmurtari/lib-jitsi-meet,adambowles/lib-jitsi-meet,jitsi/lib-jitsi-meet,adambowles/lib-jitsi-meet,jiyeyuran/lib-jitsi-meet,jitsi/lib-jitsi-meet,damencho/lib-jitsi-meet,nevermind-corp/ljm,dmurtari/lib-jitsi-meet