Thank you for that link. I will definitely check that out.
To answer your question....
It's a Flutter WebRTC audio communication application based on these two:
[1]
https://github.com/flutter-webrtc/flutter-webrtc[2]
https://github.com/webrtc-sdk/webrtcThe application supports direct P2P calls (when possible) and calls where a server is in the middle for media relay (livekit).
My goal is to find out how to minimize the end-to-end audio latency as much as possible by tweaking, optimizing and changing configuration parameters in [2] where applicable.
If you have any suggestions on immediate-reward paths that I should take to get low audio latency, then please share your wisdom :-)
Also struggling with long call setup times which is annoying (5+ seconds). Any idea what that is typically caused by and how to fix it? I have a feeling that it has something to do with a sub-optimal configuration for how ICE discovery works, but I'm not an expert on that so I'm not sure.
And finally, if anyone has some insights on the other questions I asked about RED, FEC, rtx-time in [2] and a possible issue on MacOS (very laggy audio device selection, sometimes deadlock causing freezes) I would be happy to hear about that too.
Thanks!