Closed Jack29913 closed 4 years ago
After checking native code it looks like this line is the culprit under media_preprocessing_plugin_jni.cpp
:
if (!rtcEngine) return;
It looks like this rtcEngine is set in this native method loadAgoraRtcEnginePlugin
. When bundle is used, its not called as I don't see the log but its called when regular apk is used .
By default, Android Studio plugin packages uncompressed native libraries into app bundles. Thus the originally uncompressed native libraries in path/to/app/lib will be missing.
"As a temporary workaround, you can also use android.bundle.enableUncompressedNativeLibs=false in your gradle.properties until we address this more permanently."
https://issuetracker.google.com/issues/127691101
Please take a look at this post.
Hello,
Raw data lib works when we create regular APK but it doesn't work with App Bundle. Neither
onCaptureVideoFrame
noronRenderVideoFrame
methods gets called atMediaDataObserverPlugin.class
How can we resolve this issue? We need the solution ASAP please