Are there restrictions as to how many clients could connect to the WebRTC server?
Attached is a copy of the log.
In this case, the client are a M2 (MacBook computer) and a mobile device (iPhone) both on the same LAN.
While in the M2 Safari browser (--headless mode), 30fps can be seen being reported, whenever a phone or any other device attempts to connect, an error such as the one below is reported.
Hi,
There is no hardware encoder in Orin Nano, so it may be software encoder cannot encode the frames quick enough. Please run sudo jetson_clocks to enable CPU cores at maximum frequency, and see if there is further improvement.
Thanks for the above - No success, I am still having the same issue though I managed to get 2 devices to be connected this time (Mobile and Computer). Once the third device (computer) attempted to connect, the same error was reported and streaming stopped.
Hi @pierrepatrick.tswa, on the client side I have tested this mostly through Chrome, and if you are having connection issues I would recommend trying to set chrome://flags#enable-webrtc-hide-local-ips-with-mdns to see if that helps. That said, yes the GStreamer plugins available to use for WebRTC do not seem super robust and in general the streaming negotiation with WebRTC is quite complex, although the code in jetson-utils using them is open source so you are welcome to dig into it further if desired.