OdinMediaStartedStoppedEvent

The OdinMediaStartedStoppedEvent event is emitted on OdinRoom and OdinPeer instances whenever a remote peer started/stopped a media in the room. Usually, you would want to call the start or stop method on such media to start/stop the Opus decoder for audio playback.

Events are inheriting from IOdinEvent and provide an object described by IOdinMediaStartedStoppedEventPayload in the payload property of the event.

Event Scopes

  • IOdinRoomEvents
  • IOdinPeerEvents