open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
384 stars 180 forks source link

[AMB-24748] Minimize ICE candidate exchange by configuring bundle_policy in OWT #749

Closed sambasevam closed 2 months ago

sambasevam commented 2 months ago

Set the BundlePolicy in PeerConnectionChannelConfiguration to multiplex streams into a single connection. This reduces the ICE candidates exchange and reduces our load times by ~5s for a video wall of 16 streams.

Also set prioritize_most_likely_ice_candidate_pairs to True. This prioritizes candidates most likely to succeed and reduces the live streaming latency. This flag is yet to be profiled.