Refactors the "connection status duration" analytics event. (#957)
Refactors the "connection status duration" analytics event. (#957)

This commit refactors 592f72a63c3fd57fc9473a16fa4deaeeeb4f7928. It adds
the video type in the event and it also does a better job at managing
and properly cleaning up the state map.
damencho/lib-jitsi-meet,jitsi/lib-jitsi-meet,jitsi/lib-jitsi-meet,jiyeyuran/lib-jitsi-meet