Is there some limitations or needs I didn’t see or would it be possible to only create one peer for both ? That would reduce the number of created threads and sockets to maintain (and save memory on constraint devices).
Hi Gaétan, thank you for reaching out. That’s correct. Historically, the LiveKit SFU required two peer connections to avoid issues with signaling glare. However, since the initial development of the ESP32 SDK, the SFU has added support for operating with a single peer connection. The ESP32 SDK has not been updated to take advantage of this capability yet, but this is planned for an upcoming release.