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 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.
(A more accurate name would be isActivated
)
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.