stateChanged
This event is emitted when the meeting state changes
JavaScript
meeting.on("stateChanged", function(meetingState) {
})
meetingState could have the following valid values:
terminatedjoiningnot_joinedconnecting_streamsjoinedreconnect_successnetwork_connection_lostnetwork_connection_restored
When join() method is called the meeting goes into the joining state
If an error occurs during the joining process then the meeting state becomes not_joined
If the connection to the server succeeds then the meeting goes into connecting_streams and receives the remote video and audio streams and remoteTrackStarted events are emitted for each audio and video track.
After this meeting goes into the joined state.