diff --git a/telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/Config.kt b/telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/Config.kt index 27daa608..a1ab4921 100644 --- a/telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/Config.kt +++ b/telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/Config.kt @@ -5,7 +5,7 @@ package com.telnyx.webrtc.sdk internal object Config { - const val TELNYX_PROD_HOST_ADDRESS = "rtcdev.telnyx.com" + const val TELNYX_PROD_HOST_ADDRESS = "rtc.telnyx.com" const val TELNYX_DEV_HOST_ADDRESS = "rtcdev.telnyx.com" const val TELNYX_PORT = 443 const val DEFAULT_TURN = "turn:turn.telnyx.com:3478?transport=tcp" diff --git a/telnyx_rtc/src/test/java/com/telnyx/webrtc/sdk/TelnyxClientTest.kt b/telnyx_rtc/src/test/java/com/telnyx/webrtc/sdk/TelnyxClientTest.kt index a35dff50..70a18f2f 100644 --- a/telnyx_rtc/src/test/java/com/telnyx/webrtc/sdk/TelnyxClientTest.kt +++ b/telnyx_rtc/src/test/java/com/telnyx/webrtc/sdk/TelnyxClientTest.kt @@ -388,6 +388,11 @@ class TelnyxClientTest : BaseTest() { ) } + @Test + fun `Check for Prod Env`() { + assertEquals(Config.TELNYX_PROD_HOST_ADDRESS,"rtc.telnyx.com") + } + @Test fun `Check login successful fires once REGED received`() { client = Mockito.spy(TelnyxClient(mockContext))