Skip to main content
Version: 0.11.x

Interface: OdinJoinedEventPayload

The payload for the Joined event. This event is fired when the local user successfully joins a room.

Extends

Properties

event

event: keyof OdinEvents

The name of the event that was fired (see keys of OdinEvents for possible values).

Inherited from

OdinEventPayload.event

Defined in

odin.room.d.ts:96


mediaIds

mediaIds: number[]

List of media IDs owned by the local peer. These are media streams that were previously created and are still active.

Defined in

odin.room.d.ts:206


ownPeerId

ownPeerId: number

The ID of the local peer within the room.

Defined in

odin.room.d.ts:195


room

room: OdinRoomInfo

The full room state including all current peers and their media streams.

Defined in

odin.room.d.ts:200


roomId

roomId: string

The ID of the room that was joined. It's the same as the room id that was passed to join.

Defined in

odin.room.d.ts:190


tag

tag: number

An internal integer representing the type of the event. This is mainly used internally for testing purposes.

Inherited from

OdinEventPayload.tag

Defined in

odin.room.d.ts:101