Downgraded LibVLC library to fix black screen bug on certain devices

This commit is contained in:
Daniele
2021-10-24 13:57:39 +02:00
parent 3c37c50843
commit 505f8bf54b
6 changed files with 9 additions and 6 deletions

View File

@@ -10,8 +10,8 @@ android {
applicationId "it.danieleverducci.ojo"
minSdkVersion 17
targetSdkVersion 30
versionCode 2
versionName "0.0.2"
versionCode 3
versionName "0.0.3"
vectorDrawables.useSupportLibrary = true
@@ -39,7 +39,8 @@ dependencies {
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.navigation:navigation-fragment:2.3.5'
implementation 'androidx.navigation:navigation-ui:2.3.5'
implementation 'org.videolan.android:libvlc-all:3.4.1'
//implementation 'org.videolan.android:libvlc-all:3.4.1'
implementation 'de.mrmaffen:libvlc-android:2.1.12@aar'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

View File

@@ -18,7 +18,7 @@ import android.widget.LinearLayout;
import androidx.fragment.app.Fragment;
import org.videolan.libvlc.interfaces.IVLCVout;
import org.videolan.libvlc.IVLCVout;
import org.videolan.libvlc.LibVLC;
import org.videolan.libvlc.Media;
import org.videolan.libvlc.MediaPlayer;