Skip to main content

On Media Added

On Media Added

Called whenever a peer has added a media (i.e. activated the microphone). Connect to a Bind to On Media Added delegate node to handle this event for the specified room. Will not be called for the local player.

Inputs

NameTypeDescription
DelegatedelegateConnect to a Bind to On Media Added delegate node to get this event triggered once a peer has added a media object.

Outputs

NameTypeDescription
Execexec
Peer IdintegerThe id of the peer that added the media.
MediaobjectAn object reference to the media added to the room for the peer. Assign this media object to an Odin Synth Component for audio to be played in-game.
PropertiesobjectProperties of the media object.
RoomobjectThe Room object reference for which the event was triggered.