Closed wlTrunks closed 1 year ago
@wlTrunks Can you please try with the latest SDK version.
@jintgeorge Issue was reproduced on OpenTok Android SDK | Version/Revision: android-2.25.0/d4431ca9bcd213d5f2faa19289fa919cfeac7e97 --- same stacktrace:
java.lang.RuntimeException: invalid surface: null
--
1 | | com.opentok.android.grafika.gles.EglCore.a (SourceFile:)
2 | | com.opentok.android.grafika.gles.a.a (SourceFile:)
3 | | com.opentok.android.grafika.gles.WindowSurface.<init> (SourceFile:)
4 | | com.opentok.android.TextureViewRenderer$Renderer.run (SourceFile:)
@alexmprog, the latest version is 2.25.2. Can you try on that please? Thanks!
Describe the bug: Periodically appear error during start a video call. Added log screen from success and error case, if it help.
Devices:
xiaomi:redmi:note-9-pro android:31
version: opentok-android-sdk:2.25.2
samsung:SM-A515F android:33
version: opentok-android-sdk:2.25.2
samsung:SM-G990B android:33
version: opentok-android-sdk:2.25.2
samsung:SM-S918B android:33
version: opentok-android-sdk:2.25.2
Sony:XQ-CC54 android:33
version: opentok-android-sdk:2.25.2
FATAL EXCEPTION: Thread-30
Process: PID:
java.lang.RuntimeException: invalid surface: null
at com.opentok.android.grafika.gles.EglCore.a(Unknown Source:30)
at com.opentok.android.grafika.gles.a.a(Unknown Source:8)
at com.opentok.android.grafika.gles.WindowSurface.
I am facing the same issue here for some user from Play store with opentok-android-sdk:2.26.2
Please check it:
Exception java.lang.RuntimeException: invalid surface: null
at com.opentok.android.grafika.gles.EglCore.a
at com.opentok.android.grafika.gles.a.a
at com.opentok.android.grafika.gles.WindowSurface.
Sample attributes: [HONOR HNREA (HONOR 90)] [Android 13 (SDK 33)]
Describe the bug Where is a crashes in the sdk
To Reproduce 1.Start session 2.Start camera
Expected behavior Not crashing
Device (please compete the following information):
Additional context
Last Exception Backtrace: java.lang.RuntimeException java.lang.RuntimeException: invalid surface: null 0 com.opentok.android.grafika.gles.EglCore.a(SourceFile:0) 1 com.opentok.android.grafika.gles.a.a(SourceFile:0) 2 com.opentok.android.grafika.gles.WindowSurface.<init>(SourceFile:0) 3 com.opentok.android.TextureViewRenderer$Renderer.run(SourceFile:0)
STREAMLAYE-81-qppbHVZLOTMBpDCSyaZ-callstack.txt