View on Asset Store (opens in new tab)
Package details
- Latest version
- 2.0.2
- Last updated
- First released
- Unity version
- 6000.0.85 or later
- Package size
- 14.4 MB
- Files
- 67
- Favorites
- 4
- Views in the past week
- 17
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $19.50 on
Keywords
AudioStreamNetCode: audio over network
- Price drop
This package allows transport of OPUS encoded audio over network (AudioSource/Listener/Microphone) between server/host and connected clients using 'NetCode for GameObjects' Unity networking
Lowest in 6 months
Get 18% off on Asset Store (opens in new tab)Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 9
AudioStreamNetCode: audio over network screenshot 1
About this asset
The asset contains an AudioSource/AudioListener supporting Host/Server which encodes and transmits its source audio to all connected netwoked clients.
Clients can transmit their own AudioSource or Unity Microphone back to Host/Server.
Demos builds:
Windows x64 | macOS | macOS Intel | macOS Apple Silicon | Android | Linux
(run several clients/instances of the demo; please note that older phones might have performance issues)
Also see up to date documentation
For support please visit forums
Implementation is C# only, but since System.Threading namespace is used, WebGL is currently not supported.
All sources are currently included
From the publisher's Asset Store listing.
Technical details
Audio is encoded/decoded using C# implementation of OPUS codec [https://github.com/lostromb/concentus]
- this means that input is limited to max. 2 channels *)
- the implementation currently uses threads, so the asset currently doesn't support WebGL
*) down/up mixing from/to Unity AudioSources is planned
Otherwise the codec is rather efficient and network throughput for single audio source is up to ~30 kB.
Please note that UnityRelayTransport ("Relay") is not supported.
It's possible to provide own 3rd party transport for NetworkManager, but there's no direct support for any of them in the asset.
If you already own AudioStream, there should be a discount applied for this package since it can be considered as better version of NetMQ based networking includede there
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.0.85f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.