WebRTC for Unity is a package that allows WebRTC to be used in Unity.
Please see Install package.
Please see sample page.
This version of the package is compatible with the following versions of the Unity Editor:
- Unity 2019.4
- Unity 2020.3
- Windows
- Linux
- macOS (Apple Slicon is not supported yet)
- iOS
- Android
Note
WebGL platform is not supported.
Platform | Graphics API | Hardware Encoder | Software Encoder |
---|---|---|---|
Windows x64 | DirectX11 | ✅ (Require NVIDIA Graphics card) | ✅ |
Windows x64 | DirectX12 | ✅ (Require NVIDIA Graphics card) | ✅ |
Windows x64 | OpenGL Core | ||
Windows x64 | Vulkan | ✅ (Require NVIDIA Graphics card) | ✅ |
Linux x64 | OpenGL Core | ✅ (Require NVIDIA Graphics card) | ✅ |
Linux x64 | Vulkan | ✅ (Require NVIDIA Graphics card) | ✅ |
MacOS | Metal | ✅ | ✅ |
iOS | Metal | ✅ | ✅ |
Android | Vulkan | ✅ | ✅ |
Android | OpenGL ES | ✅ | ✅ |
Platform | Graphics API | Hardware Decoder | Software Decoder |
---|---|---|---|
Windows x64 | DirectX11 | ✅ | |
Windows x64 | DirectX12 | ✅ | |
Windows x64 | OpenGL Core | ✅ | |
Windows x64 | Vulkan | ✅ | |
Linux x64 | OpenGL Core | ✅ | |
Linux x64 | Vulkan | ✅ | |
MacOS | Metal | ✅ | ✅ |
iOS | Metal | ✅ | ✅ |
Android | Vulkan | ✅ | ✅ |
Android | OpenGL ES | ✅ | ✅ |
To check the compatible NVIDIA graphics card, please visit on the NVIDIA VIDEO CODEC SDK web site.
This package depends on NVIDIA Video Codec SDK 9.1. Please check the graphics driver version.
- Windows: Driver version
436.15
or higher - Linux: Driver version
435.21
or higher
Note
On Linux, libc++1
libc++abi1
packages should be installed.
Please install like command below
sudo apt install -y libc++1 libc++abi1