This project offers a simplistic, yet comprehensive example showcasing the integration of 4Players' ODIN technology with Unreal Engine 5.2.
- Setting up Odin by creating a new room token and constructing a room handle.
- Joining an Odin Room.
- Setting up Local Client Audio captur and linkig it with the Odin room.
- Connecting remote media streams to local playback by utilizing Odin Synth Components and destroying local playback when a media stream gets disconnected.
- Multiplayer Synchronization: Leveraging RepNotify to synchronize Odin Peers with Unreal Characters, enabling Directional Audio for a more immersive multiplayer experience.
- Open the Map
Content > Odin > Maps > Odin_Multiplayer
- Change the
Number of Players
to more than 1. - Set the
Net Mode
toPlay As Listen Server
orPlay As Client
This will start the Editor in Multiplayer Mode and spawn the given number of Players. By walking to another Player Character, you will be able to hear yourself speaking from the Character's position, showcasing Proximity Voice Chat in Unreal. You can change the Proximity Voice behavior by adjusting the values in the Asset Content > Odin > Blueprints > Multiplayer_Odin_Attenuation
.