The browser version might be too old. Make sure that the latest version is installed. Or firewall settings can also cause the issue, please try to turn it off once.
Please check if there is any error log on the browser console and Unity debug console.
Check the web server's startup options. In Safari and iOS Safari, WebRTC features cannot be used with http. Instead, https must be used. Also, iOS Safari does not support WebSocket signaling if the server uses a self-signed certificate. Please check here for more information.
Confirm you're using a Graphics API
and compare requirements of com.unity.webrtc
.
If you use the hardware encoder, Make sure you're using a graphics card that supports Nvcodec. Also confirm that the latest graphics driver version is installed. See also: com.unity.webrtc
documentation.
Make sure the port isn't being used by another service.
It is only possible to operate when the focus is on the running application. On This page, you can see more info.
Unity 2020.3 or higher.
Windows10 x64, Linux x64, macOS and iOS Android.
UWP and WebGL are not supported.
On Windows and Linux, the hardware codec uses an NVIDIA graphics card. See the NVIDIA site for information on graphics cards that support NVCodec.
See this page.
Yes. However, the more devices being transmitted to, the greater the burden on the transmitting device. For example, on a new desktop PC it's possible to transmit 720p video to about 5 devices, but anything more than that will require using an SFU broadcast server.
Currently, we do not support simulcast.
Yes. If you use the hardware encoder, make sure to check the limitation of the number of cameras used at the same time. See the NVIDIA document.
You can set the resolution of the frame on the inspector window of video stream components. Keep in mind that video quality depends on the quality of the network.
It is available to ask questions on the page of Unity forum. Also please report on Github Issues for reporting bugs or requesting features.
Unity is not supported using for rendering server.