Skip to main content
Version: 0.11.x

Interface: OdinMediaActivityEventPayload

The payload for the MediaActivity event.

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


mediaId​

mediaId: number

The ID of the media that changed the activity.

Defined in​

odin.room.d.ts:365


peerId​

peerId: number

The ID of the peer that changed the media activity.

Defined in​

odin.room.d.ts:360


state​

state: boolean

Indicates if the media is currently active or not (i.e. user talking or not).

Defined in​

odin.room.d.ts:370


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