Skip to main content
Version: 0.11.x

Interface: OdinPeerInfo

Represents a peer in the ODIN room. A peer is a participant in the room that can send and receive audio.

Properties​

id​

id: number

The unique identifier of the peer within the room.

Defined in​

odin.room.d.ts:133


medias​

medias: OdinMediaInfo[]

List of media streams owned by this peer.

Defined in​

odin.room.d.ts:148


tags​

tags: string[]

Tags associated with this peer for filtering/grouping.

Defined in​

odin.room.d.ts:153


user_data​

user_data: undefined | Uint8Array

Custom user data associated with this peer.

Defined in​

odin.room.d.ts:143


user_id​

user_id: string

The user ID associated with this peer (from the token).

Defined in​

odin.room.d.ts:138