From 5cecdb2325530ab0e299fd978028362af390e48a Mon Sep 17 00:00:00 2001 From: Isaac <134492608+isaacakakpo1@users.noreply.github.com> Date: Tue, 27 Aug 2024 10:47:42 +0100 Subject: [PATCH] Fix SSL Error on Android 8.1 (#352) --- .../src/main/java/com/telnyx/webrtc/sdk/socket/TxSocket.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/socket/TxSocket.kt b/telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/socket/TxSocket.kt index 353a8c82..b3f1c3ab 100644 --- a/telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/socket/TxSocket.kt +++ b/telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/socket/TxSocket.kt @@ -76,11 +76,9 @@ class TxSocket( client = OkHttpClient.Builder() .addNetworkInterceptor(HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY)) - .retryOnConnectionFailure(true) .connectTimeout(25, TimeUnit.SECONDS) .readTimeout(25, TimeUnit.SECONDS) .writeTimeout(25, TimeUnit.SECONDS) - .hostnameVerifier(hostnameVerifier = { _, _ -> true }) .addInterceptor( Interceptor { chain -> val builder = chain.request().newBuilder()