Developer Documentation


Whenever a “user (in ODIN language it’s a peer) leaves a room, this event is triggered on the local client. You need to listen to this event and doing some cleanup work as some PlaybackComponent elements created in the OnMediaAdded event might be linked to this room and will stop working once the user left the room.

You can use the DestroyPlaybackComponents convenience function to remove all PlaybackComponent linked to this room.