Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinMediaActivityEventPayload

export interface OdinMediaActivityEventPayload

The payload for the MediaActivity event.

Properties

NameTypeDescription
eventanyThe name of the event that was fired (see keys of OdinEvents for possible values).
mediaIdnumberThe ID of the media that changed the activity.
peerIdnumberThe ID of the peer that changed the media activity.
statebooleanIndicates if the media is currently active or not (i.e. user talking or not).
tagnumberAn internal integer representing the type of the event. This is mainly used internally for testing purposes.