element-hq / riot-meta

A place to experiment with tracking features at a higher level than Riot web/iOS/Android.
25 stars 6 forks source link

Default to matrix.org TURN servers and not Google #150

Open ara4n opened 6 years ago

ara4n commented 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.

maxidorius commented 5 years ago

Related: https://gist.github.com/maxidorius/5736fd09c9194b7a6dc03b6b8d7220d0#voip

ara4n commented 5 years ago

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

rubo77 commented 5 years ago

what would be a better default value as STUN server?

rubo77 commented 5 years ago

I created a PR RFC here: https://github.com/matrix-org/matrix-android-sdk/pull/470