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

IOdinPeerEvents

export interface IOdinPeerEvents

Interface describing possible peer events.

Properties

NameTypeDescription
MediaActivityOdinMediaActivityChangedEventA media owned by the peer is sending/receiving data.
MediaStartedOdinMediaStartedStoppedEventPeer added a new media stream.
MediaStoppedOdinMediaStartedStoppedEventPeer removed a media stream.
MessageReceivedOdinMessageReceivedEventPeer sent a message with arbitrary data.
UserDataChangedOdinPeerDataChangedEventPeer updated its user data.