Recently we migrated all of our apps to androidx, and since then whenever we start a broadcast on an app, it crashes with the following stack trace:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/util/ByteArrayBuffer;
at com.wowza.gocoder.sdk.support.wse.c.onVideoConfigFrame(GoCoderSDK:169)
at com.wowza.gocoder.sdk.support.c.a.onDrainEncoder(GoCoderSDK:648)
at com.wowza.gocoder.sdk.support.c.a$a.handleMessage(GoCoderSDK:1043)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at com.wowza.gocoder.sdk.support.c.a.run(GoCoderSDK:279)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.util.ByteArrayBuffer" on path: DexPathList[[zip file "/data/app/com.ili.iliauthdemo-Y9iO-7zW3xFVxFEtcGIMzA==/base.apk"],nativeLibraryDirectories=[/data/app/com.ili.iliauthdemo-Y9iO-7zW3xFVxFEtcGIMzA==/lib/arm64, /data/app/com.ili.iliauthdemo-Y9iO-7zW3xFVxFEtcGIMzA==/base.apk!/lib/arm64-v8a, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.wowza.gocoder.sdk.support.wse.c.onVideoConfigFrame(GoCoderSDK:169)
at com.wowza.gocoder.sdk.support.c.a.onDrainEncoder(GoCoderSDK:648)
at com.wowza.gocoder.sdk.support.c.a$a.handleMessage(GoCoderSDK:1043)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at com.wowza.gocoder.sdk.support.c.a.run(GoCoderSDK:279)
at java.lang.Thread.run(Thread.java:764)
It is clear that internally and inside this package package com.wowza.gocoder.sdk.support.wse;
the gocoder sdk uses this class org.apache.http.util.ByteArrayBuffer; but it is not found anymore.
Please note that I tried to migrate the apps back to the support libraries instead of androidx and the streaming worked fine again.
Any ideas on how to make it work with androidx?