Open ara4n opened 6 years ago
On mobile clients at least, we default to stun.l.google.com as a STUN server if no other is specified. Instead, we should default to matrix.org hosted ones for privacy reasons.
Related: https://gist.github.com/maxidorius/5736fd09c9194b7a6dc03b6b8d7220d0#voip
https://github.com/matrix-org/matrix-ios-sdk/blob/develop/MatrixSDK/VoIP/MXCallManager.m#L34 https://github.com/matrix-org/matrix-android-sdk/blob/master/matrix-sdk/src/main/java/org/matrix/androidsdk/call/MXWebRtcCall.java#L602
what would be a better default value as STUN server?
I created a PR RFC here: https://github.com/matrix-org/matrix-android-sdk/pull/470
On mobile clients at least, we default to stun.l.google.com as a STUN server if no other is specified. Instead, we should default to matrix.org hosted ones for privacy reasons.