Internal
The used active focus in the currently joined session.
the used active focus in the currently joined session or undefined if not joined.
If the manager is activated. This means it tries to do its job to join the call, resend state events...
It does not imply that the room state is already configured to represent being joined.
It means that the Manager tries to connect or is connected. ("the manager is still active")
Once leave()
is called the manager is not activated anymore but still running until leave()
resolves.
true
if we intend to be participating in the MatrixRTC session
If we are trying to join, or have successfully joined the session. It does not reflect if the room state is already configured to represent us being joined. It only means that the Manager should be trying to connect or to disconnect running. The Manager is still running right after isJoined becomes false to send the disconnect events.
true if we intend to be participating in the MatrixRTC session
Start sending all necessary events to make this user participate in the RTC session.
Send all necessary events to make this user leave the RTC session.
Optional
timeout: numberthe maximum duration in ms until the promise is forced to resolve.
It resolves with true in case the leave was sent successfully. It resolves with false in case we hit the timeout before sending successfully.
Call this if the MatrixRTC session members have changed.
This interface defines what a MembershipManager uses and exposes. This interface is what we use to write tests and allows changing the actual implementation without breaking tests because of some internal method renaming.