You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found that the stream is freezing after some time for different cameras in the project.
I'm using react-native-vlcplayer package in the RN app and inside it uses this library my 3.0.10version.
After upgrading from com.yyl.vlc:vlc-android-sdk:3.0.10 to com.yyl.vlc:vlc-android-sdk:3.3.0 it video freezing issue was fixed in the test project but when I'm trying to migrate it to another project I'm receiving this kind of error:
More than one file was found with OS independent path 'lib/x86/libc++_shared.so'
I have found thread in react-native-ffmpeg library with a similar issue. The library maintainer said that it's because of c++ core library was changed in ReactNative core.
libgnustl_shared.so is replaced with libc++_shared.so in react-native 0.59. react-native-ffmpeg already includes libc++_shared.so so using react-native 0.59 causes the More than one file was found with OS independent path 'lib/x86/libc++_shared.so' error.
And have proposed to use the next solution inside your project app/build.gradle file:
I have found that the stream is freezing after some time for different cameras in the project.
I'm using react-native-vlcplayer package in the RN app and inside it uses this library my
3.0.10
version.After upgrading from
com.yyl.vlc:vlc-android-sdk:3.0.10
tocom.yyl.vlc:vlc-android-sdk:3.3.0
it video freezing issue was fixed in the test project but when I'm trying to migrate it to another project I'm receiving this kind of error:I have found thread in react-native-ffmpeg library with a similar issue. The library maintainer said that it's because of c++ core library was changed in ReactNative core.
And have proposed to use the next solution inside your project
app/build.gradle
file:It started to compile and run but when I'm going to open the stream with
VLCPlayer
component app crashes with the next error in logs.Maybe
vlcjni
trying to use another standard c++ library instead of provided byreact-native
library.My RN version in
0.61.5
.I also reported this issue in vlc-sdk-lib.
Thanks in advance!
The text was updated successfully, but these errors were encountered: