jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
273 stars 238 forks source link

Android example shows black screen #126

Open thomato opened 2 years ago

thomato commented 2 years ago

The Android example shows a black screen after joining the room on an Android 12 / API level 31 emulator.

Steps to reproduce

Expected result Successfully joined

Actual result A black screen is shown

See screenshot for an example on a Pixel 5 - API level 31 emulator.

There are a couple of warning logs, but no errors occur:

12/31 14:05:08: Launching 'app' on Pixel 5 API 31.
Install successfully finished in 4 s 779 ms.
$ adb shell am start -n "net.jitsi.sdktest/net.jitsi.sdktest.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 8057 on device 'Pixel_5_API_31 [emulator-5554]'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10148; state: DISABLED
D/ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
V/GraphicsEnvironment: ANGLE Developer option for 'net.jitsi.sdktest' set to: 'default'
V/GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
D/libEGL: loaded /vendor/lib64/egl/libEGL_emulation.so
D/libEGL: loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
D/libEGL: loaded /vendor/lib64/egl/libGLESv2_emulation.so
W/t.jitsi.sdktes: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
W/t.jitsi.sdktes: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
D/HostConnection: createUnique: call
D/HostConnection: HostConnection::get() New Host Connection established 0x7a0b2d1dfa90, tid 8099
D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
    Failed to initialize 101010-2 format, error = EGL_SUCCESS
D/EGL_emulation: eglCreateContext: 0x7a0b2d1de110: maj 3 min 0 rcv 3
D/EGL_emulation: eglMakeCurrent: 0x7a0b2d1de110: ver 3 0 (tinfo 0x7a0d4fbbf080) (first time)
I/Gralloc4: mapper 4.x is not supported
D/HostConnection: createUnique: call
    HostConnection::get() New Host Connection established 0x7a0b2d1def50, tid 8099
D/goldfish-address-space: allocate: Ask for block of size 0x100
    allocate: ioctl allocate returned offset 0x3f3ffe000 size 0x2000
W/Gralloc4: allocator 4.x is not supported
D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
D/EGL_emulation: app_time_stats: avg=563.92ms min=10.23ms max=4918.75ms count=9
D/CompatibilityChangeReporter: Compat change id reported: 163400105; UID 10148; state: DISABLED
D/InputMethodManager: showSoftInput() view=androidx.appcompat.widget.AppCompatEditText{45cd139 VFED..CL. .F.P..ID 148,706-932,830 #7f070067 app:id/conferenceName aid=1073741824} flags=0 reason=SHOW_SOFT_INPUT
I/AssistStructure: Flattened final assist data: 1344 bytes, containing 1 windows, 8 views
D/InsetsController: show(ime(), fromIme=true)
D/EGL_emulation: app_time_stats: avg=143.42ms min=18.60ms max=451.57ms count=7
D/EGL_emulation: app_time_stats: avg=64.53ms min=11.46ms max=497.26ms count=21
D/EGL_emulation: app_time_stats: avg=64.91ms min=1.93ms max=501.32ms count=13
D/SoLoader: init start
D/SoLoader: adding system library source: /vendor/lib
D/SoLoader: adding system library source: /system/lib
D/SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~AmlT9zwiYENVaFSxD-wPYA==/net.jitsi.sdktest-Qur7VWV4bUbAKWt4fQlAxw==/lib/x86_64 flags = 0]
D/SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/user/0/net.jitsi.sdktest/lib-main flags = 1]
D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
    Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~AmlT9zwiYENVaFSxD-wPYA==/net.jitsi.sdktest-Qur7VWV4bUbAKWt4fQlAxw==/lib/x86_64 flags = 0]
D/SoLoader: Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/user/0/net.jitsi.sdktest/lib-main flags = 1]
V/fb-UnpackingSoSource: locked dso store /data/user/0/net.jitsi.sdktest/lib-main
V/fb-UnpackingSoSource: deps mismatch on deps store: regenerating
    so store dirty: regenerating
D/ApkSoSource: allowing considering of lib/x86_64/libc++_shared.so: libc++_shared.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libduktape.so: libduktape.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libfb.so: libfb.so not in system lib dir
    allowing considering of lib/x86_64/libfolly_futures.so: libfolly_futures.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libfolly_json.so: libfolly_json.so not in system lib dir
    allowing considering of lib/x86_64/libglog.so: libglog.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libglog_init.so: libglog_init.so not in system lib dir
    allowing considering of lib/x86_64/libhermes-executor-debug.so: libhermes-executor-debug.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libhermes-executor-release.so: libhermes-executor-release.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libhermes-inspector.so: libhermes-inspector.so not in system lib dir
    allowing considering of lib/x86_64/libimagepipeline.so: libimagepipeline.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libjingle_peerconnection_so.so: libjingle_peerconnection_so.so not in system lib dir
    allowing considering of lib/x86_64/libjsc.so: libjsc.so not in system lib dir
    allowing considering of lib/x86_64/libjscexecutor.so: libjscexecutor.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libjsijniprofiler.so: libjsijniprofiler.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libjsinspector.so: libjsinspector.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libnative-filters.so: libnative-filters.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libnative-imagetranscoder.so: libnative-imagetranscoder.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libreactnativeblob.so: libreactnativeblob.so not in system lib dir
D/ApkSoSource: allowing considering of lib/x86_64/libreactnativejni.so: libreactnativejni.so not in system lib dir
    allowing considering of lib/x86_64/libyoga.so: libyoga.so not in system lib dir
V/fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource
I/fb-UnpackingSoSource: extracting DSO libc++_shared.so
I/fb-UnpackingSoSource: extracting DSO libduktape.so
I/fb-UnpackingSoSource: extracting DSO libfb.so
I/fb-UnpackingSoSource: extracting DSO libfolly_futures.so
I/fb-UnpackingSoSource: extracting DSO libfolly_json.so
I/fb-UnpackingSoSource: extracting DSO libglog.so
I/fb-UnpackingSoSource: extracting DSO libglog_init.so
I/fb-UnpackingSoSource: extracting DSO libhermes-executor-debug.so
I/fb-UnpackingSoSource: extracting DSO libhermes-executor-release.so
I/fb-UnpackingSoSource: extracting DSO libhermes-inspector.so
I/fb-UnpackingSoSource: extracting DSO libimagepipeline.so
I/fb-UnpackingSoSource: extracting DSO libjingle_peerconnection_so.so
I/fb-UnpackingSoSource: extracting DSO libjsc.so
I/fb-UnpackingSoSource: extracting DSO libjscexecutor.so
I/fb-UnpackingSoSource: extracting DSO libjsijniprofiler.so
I/fb-UnpackingSoSource: extracting DSO libjsinspector.so
I/fb-UnpackingSoSource: extracting DSO libnative-filters.so
I/fb-UnpackingSoSource: extracting DSO libnative-imagetranscoder.so
I/fb-UnpackingSoSource: extracting DSO libreactnativeblob.so
I/fb-UnpackingSoSource: extracting DSO libreactnativejni.so
I/fb-UnpackingSoSource: extracting DSO libyoga.so
V/fb-UnpackingSoSource: Finished regenerating DSO store com.facebook.soloader.ApkSoSource
V/fb-UnpackingSoSource: starting syncer worker
V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/net.jitsi.sdktest/lib-main (from syncer thread)
V/fb-UnpackingSoSource: not releasing dso store lock for /data/user/0/net.jitsi.sdktest/lib-main (syncer thread started)
D/SoLoader: init finish: 4 SO sources prepared
D/SoLoader: init exiting
D/ReactNative: ReactInstanceManager.ctor()
D/SoLoader: init exiting
D/ReactNative: ReactInstanceManager.createReactContextInBackground()
    ReactInstanceManager.recreateReactContextInBackgroundInner()
    ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()
    ReactInstanceManager.recreateReactContextInBackground()
    ReactInstanceManager.runCreateReactContextOnNewThread()
D/SoLoader: About to load: libreactnativejni.so
D/SoLoader: libreactnativejni.so found on /data/user/0/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libglog_init.so, libyoga.so, libfb.so, libjsinspector.so, libfolly_json.so, libglog.so, libc++_shared.so, libandroid.so, liblog.so, libc.so, libm.so, libdl.so]
D/SoLoader: About to load: libglog_init.so
    libglog_init.so found on /data/user/0/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libglog.so, libc++_shared.so, liblog.so, libc.so, libm.so, libdl.so]
    About to load: libglog.so
D/SoLoader: libglog.so found on /data/user/0/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libc++_shared.so, libc.so, libm.so, libdl.so]
    About to load: libc++_shared.so
    libc++_shared.so found on /data/user/0/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libc.so, libdl.so]
    About to load: libc.so
D/SoLoader: libc.so not found on /data/user/0/net.jitsi.sdktest/lib-main
    libc.so not found on /data/app/~~AmlT9zwiYENVaFSxD-wPYA==/net.jitsi.sdktest-Qur7VWV4bUbAKWt4fQlAxw==/lib/x86_64
D/SoLoader: libc.so not found on /vendor/lib
    libc.so not found on /system/lib
I/Choreographer: Skipped 33 frames!  The application may be doing too much work on its main thread.
Meri994 commented 2 years ago

@thomato Did you fix this pblm? I am facing the same.

saghul commented 2 years ago

I just pushed a fix necessary for target API 31 please pull from master and give it a try. This was on the Java sample.

Meri994 commented 2 years ago

@saghul Getting same blank screen with updated code.


03/22 17:17:48: Launching 'app' on Pixel XL API 31.
Install successfully finished in 1 s 353 ms.
$ adb shell am start -n "net.jitsi.sdktest/net.jitsi.sdktest.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 10641 on device 'Pixel_XL_API_31 [emulator-5554]'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/t.jitsi.sdktes: Late-enabling -Xcheck:jni
W/t.jitsi.sdktes: Unexpected CPU variant for X86 using defaults: x86_64
W/re-initialized>: type=1400 audit(0.0:52): avc: granted { execute } for path="/data/data/net.jitsi.sdktest/code_cache/startup_agents/50cdcce7-agent.so" dev="dm-5" ino=139290 scontext=u:r:untrusted_app:s0:c146,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c146,c256,c512,c768 tclass=file app=net.jitsi.sdktest
V/studio.deploy: Startup agent attached to VM
V/studio.deploy: No existing instrumentation found. Loading instrumentation from instruments-88564b4d.jar
W/t.jitsi.sdktes: DexFile /data/data/net.jitsi.sdktest/code_cache/.studio/instruments-88564b4d.jar is in boot class path but is not in a known location
V/studio.deploy: Applying transforms with cached classes
W/t.jitsi.sdktes: Redefining intrinsic method java.lang.Thread java.lang.Thread.currentThread(). This may cause the unexpected use of the original definition of java.lang.Thread java.lang.Thread.currentThread()in methods that have already been compiled.
W/t.jitsi.sdktes: Redefining intrinsic method boolean java.lang.Thread.interrupted(). This may cause the unexpected use of the original definition of boolean java.lang.Thread.interrupted()in methods that have already been compiled.
D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10146; state: ENABLED
I/t.jitsi.sdktes: Waiting for a blocking GC ClassLinker
W/System: A resource failed to call close. 
V/GraphicsEnvironment: ANGLE Developer option for 'net.jitsi.sdktest' set to: 'default'
V/GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
D/SoLoader: init start
D/SoLoader: adding system library source: /vendor/lib
D/SoLoader: adding system library source: /system/lib
D/SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~R2Idqx_yYWxFqV0ehORlRQ==/net.jitsi.sdktest-IsDwOsD19dEYQdQu68hBag==/lib/x86_64 flags = 0]
D/SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/net.jitsi.sdktest/lib-main flags = 1]
D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~R2Idqx_yYWxFqV0ehORlRQ==/net.jitsi.sdktest-IsDwOsD19dEYQdQu68hBag==/lib/x86_64 flags = 0]
D/SoLoader: Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/net.jitsi.sdktest/lib-main flags = 1]
V/fb-UnpackingSoSource: locked dso store /data/user/0/net.jitsi.sdktest/lib-main
I/fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/net.jitsi.sdktest/lib-main
V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/net.jitsi.sdktest/lib-main
D/SoLoader: init finish: 4 SO sources prepared
D/SoLoader: init exiting
D/libEGL: loaded /vendor/lib64/egl/libEGL_emulation.so
D/libEGL: loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
D/libEGL: loaded /vendor/lib64/egl/libGLESv2_emulation.so
W/t.jitsi.sdktes: Verification of android.content.res.Configuration androidx.appcompat.app.AppCompatDelegateImpl.generateConfigDelta(android.content.res.Configuration, android.content.res.Configuration) took 216.284ms (1377.82 bytecodes/s) (6448B approximate peak alloc)
W/t.jitsi.sdktes: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
W/t.jitsi.sdktes: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
I/t.jitsi.sdktes: IncrementDisableThreadFlip blocked for 45.375ms
W/t.jitsi.sdktes: Suspending all threads took: 8.362ms
D/HostConnection: createUnique: call
D/HostConnection: HostConnection::get() New Host Connection established 0x78f8ea4f0590, tid 10673
D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
W/OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS
D/EGL_emulation: eglCreateContext: 0x78f8ea4f01d0: maj 3 min 0 rcv 3
D/EGL_emulation: eglMakeCurrent: 0x78f8ea4f01d0: ver 3 0 (tinfo 0x78fafcb3f080) (first time)
I/Gralloc4: mapper 4.x is not supported
D/HostConnection: createUnique: call
D/HostConnection: HostConnection::get() New Host Connection established 0x78f8ea4f1790, tid 10673
D/goldfish-address-space: allocate: Ask for block of size 0x100
D/goldfish-address-space: allocate: ioctl allocate returned offset 0x3efffe000 size 0x2000
W/Gralloc4: allocator 4.x is not supported
D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
I/OpenGLRenderer: Davey! duration=1439ms; Flags=1, FrameTimelineVsyncId=16151, IntendedVsync=1430203653698, Vsync=1430303653694, InputEventId=0, HandleInputStart=1430324024208, AnimationStart=1430324087208, PerformTraversalsStart=1430324172208, DrawStart=1431267404208, FrameDeadline=1430220320364, FrameInterval=1430320292208, FrameStartTime=16666666, SyncQueued=1431302684208, SyncStart=1431320731208, IssueDrawCommandsStart=1431333595208, SwapBuffers=1431632709208, FrameCompleted=1431661688208, DequeueBufferDuration=53000, QueueBufferDuration=3379000, GpuCompleted=1431661442208, SwapBuffersCompleted=1431661688208, DisplayPresentTime=0, 
I/Choreographer: Skipped 119 frames!  The application may be doing too much work on its main thread.
I/OpenGLRenderer: Davey! duration=2082ms; Flags=0, FrameTimelineVsyncId=16166, IntendedVsync=1430336987026, Vsync=1432320320280, InputEventId=0, HandleInputStart=1432330503208, AnimationStart=1432330555208, PerformTraversalsStart=1432331194208, DrawStart=1432347789208, FrameDeadline=1430370320358, FrameInterval=1432330232208, FrameStartTime=16666666, SyncQueued=1432377171208, SyncStart=1432378024208, IssueDrawCommandsStart=1432383929208, SwapBuffers=1432390786208, FrameCompleted=1432420754208, DequeueBufferDuration=59000, QueueBufferDuration=10954000, GpuCompleted=1432419192208, SwapBuffersCompleted=1432420754208, DisplayPresentTime=0, 
D/EGL_emulation: app_time_stats: avg=2135.75ms min=49.72ms max=9503.98ms count=5
D/CompatibilityChangeReporter: Compat change id reported: 163400105; UID 10146; state: DISABLED
D/InputMethodManager: showSoftInput() view=androidx.appcompat.widget.AppCompatEditText{819d353 VFED..CL. .F.P..ID 221,739-1219,897 #7f08007c app:id/conferenceName aid=1073741824} flags=0 reason=SHOW_SOFT_INPUT
I/AssistStructure: Flattened final assist data: 1344 bytes, containing 1 windows, 8 views
D/InsetsController: show(ime(), fromIme=true)
D/EGL_emulation: app_time_stats: avg=282.29ms min=79.20ms max=523.34ms count=4
D/EGL_emulation: app_time_stats: avg=487.07ms min=466.99ms max=499.27ms count=3
D/EGL_emulation: app_time_stats: avg=346.48ms min=197.12ms max=542.08ms count=3
D/EGL_emulation: app_time_stats: avg=172.23ms min=42.04ms max=272.90ms count=6
D/EGL_emulation: app_time_stats: avg=356.35ms min=192.42ms max=498.23ms count=3
D/EGL_emulation: app_time_stats: avg=415.25ms min=244.62ms max=503.10ms count=3
D/EGL_emulation: app_time_stats: avg=513.91ms min=489.79ms max=544.32ms count=3
D/InsetsController: show(ime(), fromIme=true)
D/EGL_emulation: app_time_stats: avg=710.02ms min=139.99ms max=2101.03ms count=4
D/EGL_emulation: app_time_stats: avg=36.74ms min=9.68ms max=81.69ms count=19
D/EGL_emulation: app_time_stats: avg=45.66ms min=8.80ms max=124.12ms count=19
D/ReactNative: ReactInstanceManager.ctor()
D/SoLoader: init exiting
I/t.jitsi.sdktes: Background young concurrent copying GC freed 5326(510KB) AllocSpace objects, 1(20KB) LOS objects, 41% free, 3242KB/5519KB, paused 33.070ms,170us total 707.580ms
D/ReactNative: ReactInstanceManager.createReactContextInBackground()
D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()
D/ReactNative: ReactInstanceManager.recreateReactContextInBackground()
D/ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
D/EGL_emulation: app_time_stats: avg=46.53ms min=13.16ms max=81.19ms count=20
D/SoLoader: About to load: libreactnativejni.so
I/Choreographer: Skipped 160 frames!  The application may be doing too much work on its main thread.
D/SoLoader: libreactnativejni.so found on /data/data/net.jitsi.sdktest/lib-main
I/OpenGLRenderer: Davey! duration=2755ms; Flags=0, FrameTimelineVsyncId=17752, IntendedVsync=1454653652720, Vsync=1457320319280, InputEventId=0, HandleInputStart=1457364624208, AnimationStart=1457368271208, PerformTraversalsStart=1457373272208, DrawStart=1457373822208, FrameDeadline=1454686986052, FrameInterval=1457335226208, FrameStartTime=16666666, SyncQueued=1457382806208, SyncStart=1457418216208, IssueDrawCommandsStart=1457430760208, SwapBuffers=1457432356208, FrameCompleted=1457444386208, DequeueBufferDuration=341000, QueueBufferDuration=9837000, GpuCompleted=1457443490208, SwapBuffersCompleted=1457444386208, DisplayPresentTime=0, 
D/SoLoader: Loading lib dependencies: [libglog_init.so, libyoga.so, libfb.so, libjsinspector.so, libfolly_json.so, libglog.so, libc++_shared.so, libandroid.so, liblog.so, libc.so, libm.so, libdl.so]
D/SoLoader: About to load: libglog_init.so
D/SoLoader: libglog_init.so found on /data/data/net.jitsi.sdktest/lib-main
I/OpenGLRenderer: Davey! duration=3162ms; Flags=1, FrameTimelineVsyncId=17752, IntendedVsync=1454653652720, Vsync=1457320319280, InputEventId=0, HandleInputStart=1457364624208, AnimationStart=1457368271208, PerformTraversalsStart=1457373272208, DrawStart=1457710625208, FrameDeadline=1454670319386, FrameInterval=1457335226208, FrameStartTime=16666666, SyncQueued=1457753463208, SyncStart=1457763435208, IssueDrawCommandsStart=1457764081208, SwapBuffers=1457765978208, FrameCompleted=1457825796208, DequeueBufferDuration=69000, QueueBufferDuration=14215000, GpuCompleted=1457822307208, SwapBuffersCompleted=1457825796208, DisplayPresentTime=0, 
D/EGL_emulation: app_time_stats: avg=70.44ms min=19.04ms max=223.13ms count=13
I/Choreographer: Skipped 36 frames!  The application may be doing too much work on its main thread.
D/SoLoader: Loading lib dependencies: [libglog.so, libc++_shared.so, liblog.so, libc.so, libm.so, libdl.so]
D/SoLoader: About to load: libglog.so
D/SoLoader: libglog.so found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libc++_shared.so, libc.so, libm.so, libdl.so]
D/SoLoader: About to load: libc++_shared.so
D/SoLoader: libc++_shared.so found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libc.so, libdl.so]
D/SoLoader: About to load: libc.so
D/SoLoader: libc.so not found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: libc.so not found on /data/app/~~R2Idqx_yYWxFqV0ehORlRQ==/net.jitsi.sdktest-IsDwOsD19dEYQdQu68hBag==/lib/x86_64
D/SoLoader: libc.so not found on /vendor/lib
D/SoLoader: libc.so not found on /system/lib
D/EGL_emulation: app_time_stats: avg=862.33ms min=706.87ms max=1017.79ms count=2
saghul commented 2 years ago

I don't see any Jitsi SDK logs there. Did you join any meeting?

Meri994 commented 2 years ago

@saghul This is the the only log. I am getting currently. Did you check with pixel phone which is supported to android 12?

D/EGL_emulation: app_time_stats: avg=501.02ms min=485.88ms max=510.66ms count=3
D/EGL_emulation: app_time_stats: avg=504.21ms min=494.31ms max=514.12ms count=2
D/EGL_emulation: app_time_stats: avg=194.47ms min=7.36ms max=451.74ms count=6
D/EGL_emulation: app_time_stats: avg=499.86ms min=496.16ms max=503.56ms count=2
D/InsetsController: show(ime(), fromIme=true)
D/EGL_emulation: app_time_stats: avg=427.26ms min=17.07ms max=2160.63ms count=7
D/ReactNative: ReactInstanceManager.ctor()
D/SoLoader: init exiting
D/EGL_emulation: app_time_stats: avg=23.46ms min=7.68ms max=137.31ms count=31
D/ReactNative: ReactInstanceManager.createReactContextInBackground()
D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()
D/ReactNative: ReactInstanceManager.recreateReactContextInBackground()
D/ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
D/SoLoader: About to load: libreactnativejni.so
D/SoLoader: libreactnativejni.so found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libglog_init.so, libyoga.so, libfb.so, libjsinspector.so, libfolly_json.so, libglog.so, libc++_shared.so, libandroid.so, liblog.so, libc.so, libm.so, libdl.so]
D/SoLoader: About to load: libglog_init.so
D/SoLoader: libglog_init.so found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libglog.so, libc++_shared.so, liblog.so, libc.so, libm.so, libdl.so]
D/SoLoader: About to load: libglog.so
D/SoLoader: libglog.so found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libc++_shared.so, libc.so, libm.so, libdl.so]
D/SoLoader: About to load: libc++_shared.so
I/Choreographer: Skipped 47 frames!  The application may be doing too much work on its main thread.
D/SoLoader: libc++_shared.so found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libc.so, libdl.so]
D/SoLoader: About to load: libc.so
D/SoLoader: libc.so not found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: libc.so not found on /data/app/~~R2Idqx_yYWxFqV0ehORlRQ==/net.jitsi.sdktest-IsDwOsD19dEYQdQu68hBag==/lib/x86_64
D/SoLoader: libc.so not found on /vendor/lib
D/SoLoader: libc.so not found on /system/lib
I/OpenGLRenderer: Davey! duration=861ms; Flags=0, FrameTimelineVsyncId=15692, IntendedVsync=801777740437, Vsync=802561073739, InputEventId=0, HandleInputStart=802576023309, AnimationStart=802576057309, PerformTraversalsStart=802578374309, DrawStart=802580649309, FrameDeadline=801811073769, FrameInterval=802575762309, FrameStartTime=16666666, SyncQueued=802604869309, SyncStart=802607733309, IssueDrawCommandsStart=802626802309, SwapBuffers=802634094309, FrameCompleted=802642405309, DequeueBufferDuration=51000, QueueBufferDuration=6251000, GpuCompleted=802642114309, SwapBuffersCompleted=802642405309, DisplayPresentTime=0, 
I/OpenGLRenderer: Davey! duration=1112ms; Flags=1, FrameTimelineVsyncId=15692, IntendedVsync=801777740437, Vsync=802561073739, InputEventId=0, HandleInputStart=802576023309, AnimationStart=802576057309, PerformTraversalsStart=802578374309, DrawStart=802827264309, FrameDeadline=801794407103, FrameInterval=802575762309, FrameStartTime=16666666, SyncQueued=802850286309, SyncStart=802851340309, IssueDrawCommandsStart=802859479309, SwapBuffers=802860409309, FrameCompleted=802891244309, DequeueBufferDuration=718000, QueueBufferDuration=5006000, GpuCompleted=802889041309, SwapBuffersCompleted=802891244309, DisplayPresentTime=0, 
W/t.jitsi.sdktes: Verification of void com.facebook.react.modules.core.ChoreographerCompat.choreographerRemoveFrameCallback(android.view.Choreographer$FrameCallback) took 107.945ms (55.58 bytecodes/s) (1456B approximate peak alloc)
D/EGL_emulation: app_time_stats: avg=52.98ms min=7.91ms max=165.46ms count=17

In this log, I want to highlight few things which is running.

D/SoLoader: libc++_shared.so found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: Loading lib dependencies: [libc.so, libdl.so]
D/SoLoader: About to load: libc.so
D/SoLoader: libc.so not found on /data/data/net.jitsi.sdktest/lib-main
D/SoLoader: libc.so not found on /data/app/~~R2Idqx_yYWxFqV0ehORlRQ==/net.jitsi.sdktest-IsDwOsD19dEYQdQu68hBag==/lib/x86_64
D/SoLoader: libc.so not found on /vendor/lib
D/SoLoader: libc.so not found on /system/lib
saghul commented 2 years ago

I wonder if it's an emulator issue, I tested yesterday on a real Android 12(L beta) device with no issues.

Meri994 commented 2 years ago

Yes, I am testing in Pixel XL API 31 emulator.

saghul commented 2 years ago

I'll give that a try.

Meri994 commented 2 years ago

I'll give that a try.

Okay.Thanks

Meri994 commented 2 years ago

I'll give that a try.

Okay. Thanks

Hey, Did you check in Pixel XL API 31 emulator?

saghul commented 2 years ago

I just tested a Pixel 3a XL emulator with API 31 and it works just fine.