Our new developer documentation is now available. Please check it out!
OdinMediaStartedStoppedEvent
On this page
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.