Skip to content

Commit

Permalink
Is/test/host (#357)
Browse files Browse the repository at this point in the history
* Version Bump

* Main Stash

* - Implement Test for Host
  • Loading branch information
isaacakakpo1 authored Oct 31, 2024
1 parent 2e0eab4 commit f243f3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f243f3f

Please sign in to comment.