Our new developer documentation is now available. Please check it out!
OdinMediaActivityEventPayload
On this page
export interface OdinMediaActivityEventPayload
The payload for the MediaActivity event.
Properties
Name | Type | Description |
---|---|---|
event | any | The name of the event that was fired (see keys of OdinEvents for possible values). |
mediaId | number | The ID of the media that changed the activity. |
peerId | number | The ID of the peer that changed the media activity. |
state | boolean | Indicates if the media is currently active or not (i.e. user talking or not). |
tag | number | An internal integer representing the type of the event. This is mainly used internally for testing purposes. |