jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
281 stars 239 forks source link

Set config.deploymentInfo.userRegion from mobile #58

Closed hasgardee closed 4 years ago

hasgardee commented 4 years ago

I setup octo for my server with region-based switching. Currently, from our website front end we are finding the best region server for the user using latency check then we are passing that region to the config using config.deploymentInfo.userRegion:“region2”. It is working fine on the website The problem is it is not working on mobile. I tried appending the same config into the URL and added a new config parameter in the mobile SDK. but no luck. I whitelisted deploymentInfo in the js file, Does anyone have any idea how can I do this?

Thanks

hasgardee commented 4 years ago

fixed by adding "deploymentInfo" into /react/feature/base/config/configWhitelist.js