join

open suspend override fun join(tag: Tag, memberName: String? = null): Room

Join an existing room. The caller's peer becomes a SessionRole.Joiner.

memberName is this peer's own roster name — the label other members see for it. It defaults to null, in which case the peer's own id (Room.selfId) is used. It is deliberately not derived from the discovered Tag.sessionName: the session name names the session being joined, not this joiner (#1177).