meetingState()

meetingState()

Compatibility:
Prebuilt
Custom

Returns the current meeting state:

  • new
  • loading
  • loaded
  • joining-meeting
  • joined-meeting
  • left-meeting
  • error

If an error is thrown, the meeting state will transition to error, not left-meeting, even though the meeting connection will also be terminated by the error.