Real-time Audio Streaming for Unity

This package enables real-time audio streaming between a server/host and connected clients using OPUS encoding. It supports AudioSource, AudioListener, and Microphone, allowing for seamless audio transmission. Clients can also transmit their own audio back to the host/server. The package includes demos for various platforms, including Windows, macOS, Android, and Linux. Note that WebGL is not supported due to the use of System.Threading namespace. All source code is included.

Audio is encoded/decoded using a C# implementation of the OPUS codec, which supports up to 2 channels. The implementation uses threads, making it incompatible with WebGL. The codec is efficient, with a network throughput of up to ~30 kB for a single audio source. UnityRelayTransport is not supported, but a custom 3rd party transport can be provided for the NetworkManager.

Real-time Audio Streaming for Unity - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

AI Studio: Real-time AI Integration for Unity

AI Studio: Real-time AI Integration for Unity Thumbnail

Real-Time Lip Syncing for Unity

Real-Time Lip Syncing for Unity Thumbnail

Real-Time Fluid Simulations for Unity

Real-Time Fluid Simulations for Unity Thumbnail

GraphQL for Unity Pro: Real-Time Data Access

GraphQL for Unity Pro: Real-Time Data Access Thumbnail

Real-Time Heat Simulation for Unity

Real-Time Heat Simulation for Unity Thumbnail

VIImage Processing: Real-Time Image Editor for Unity

VIImage Processing: Real-Time Image Editor for Unity Thumbnail