Crash in Zoom Meeting SDK (Dynamic) with ExoPlayer Integration

Dear Zoom Team,

I am integrating the Zoom Meeting SDK (Dynamic) with ExoPlayer in my Android application. However, I am encountering crashes when the webinar is in the waiting mode. Below are the details of the issue:

Setup

I am using the following dependencies for ExoPlayer:

gradle

CopyEdit

dependencies.add("default","com.google.android.exoplayer:exoplayer-core:2.19.1")
dependencies.add("default","com.google.android.exoplayer:exoplayer-ui:2.19.1")

Issue with ExoPlayer 2.19.1

When the webinar is in waiting mode, the application crashes with the following error:

yaml

CopyEdit

E  FATAL EXCEPTION: main  
Process: us.zoom.sdkdynamic.sample, PID: 5142  
java.lang.NoSuchFieldError: No static field exo_controller of type I in class Lus/zoom/videomeetings/R$id;  
or its superclasses (declaration of 'us.zoom.videomeetings.R$id' appears in /data/app/...  

Issue with ExoPlayer 2.17.1

With version 2.17.1, I receive an android.view.InflateException error:

pgsql

CopyEdit

feature_mobilertc:layout/zm_new_joinflow_jbh_wr_state_panel: Binary XML file line #37 in feature_mobilertc:layout/zm_new_joinflow_video: Error inflating class <unknown>
Caused by: android.view.InflateException: Binary XML file line #37 in feature_mobilertc:layout/zm_new_joinflow_video: Error inflating class <unknown>

Request for Assistance

  1. Is there a known compatibility issue between ExoPlayer and the Zoom Meeting SDK (Dynamic)?
  2. Are there any recommended ExoPlayer versions that work without these issues?
  3. Is there any workaround or fix available to resolve this issue?

I appreciate your support and look forward to your guidance.

Thanks