Another user present in the room (i.e. not the current user).

Obtained from @urth/metatell-sdk/users via list(), get(), and the on… subscriptions.

Example

import { list } from "@urth/metatell-sdk/users";

for (const u of list()) {
console.log(u.sessionId, u.profile.displayName, u.speaking);
}

Hierarchy

  • RemoteUser

Properties

profile: UserProfile

The user's public profile (display name, avatar, roles).

sessionId: string

Stable id for this user's session, used as the key in users.get().

speaking: boolean

Whether the user is currently speaking.

transform?: TransformData

Latest known position/rotation of the user's avatar, if available.

userId?: string

Persistent account id of the user, when available.