Default to staging SFU on staging builds.

This commit is contained in:
Rashad Sookram
2022-11-18 13:50:03 -05:00
committed by Cody Henthorne
parent ff64c2a911
commit 81df9fcddb
4 changed files with 12 additions and 3 deletions

View File

@@ -17,4 +17,11 @@ object Environment {
publishableKey = BuildConfig.STRIPE_PUBLISHABLE_KEY
)
}
object Calling {
@JvmStatic
fun defaultSfuUrl(): String {
return if (IS_STAGING) BuildConfig.SIGNAL_STAGING_SFU_URL else BuildConfig.SIGNAL_SFU_URL
}
}
}