Jitsi External Api Call Duration?

Hello!

I have my own jitsi server and use the external api in the iframe.

Is there a simple way to determine the duration of a call via javascript? I wanted to read out the span “.subject-timer” where the time is contained. Unfortunately that does not work. Is there a possibility?