Upgraded libvlc from 2.1.12 to 3.4.1

This commit is contained in:
Daniele 2021-10-13 12:45:24 +02:00
parent a8e55abbce
commit d9156e253f
2 changed files with 4 additions and 11 deletions

View File

@ -8,10 +8,10 @@ android {
defaultConfig {
applicationId "it.danieleverducci.ojo"
minSdkVersion 16
minSdkVersion 17
targetSdkVersion 30
versionCode 1
versionName "1.0"
versionName "0.0.1"
vectorDrawables.useSupportLibrary = true
@ -39,7 +39,7 @@ 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 'de.mrmaffen:libvlc-android:2.1.12@aar'
implementation 'org.videolan.android:libvlc-all:3.4.1'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

View File

@ -1,12 +1,9 @@
package it.danieleverducci.ojo.ui;
import android.content.Context;
import android.graphics.Color;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
@ -19,13 +16,9 @@ import android.view.WindowInsetsController;
import android.widget.LinearLayout;
import androidx.annotation.NonNull;
import androidx.core.view.WindowCompat;
import androidx.core.view.WindowInsetsCompat;
import androidx.core.view.WindowInsetsControllerCompat;
import androidx.fragment.app.Fragment;
import androidx.navigation.fragment.NavHostFragment;
import org.videolan.libvlc.IVLCVout;
import org.videolan.libvlc.interfaces.IVLCVout;
import org.videolan.libvlc.LibVLC;
import org.videolan.libvlc.Media;
import org.videolan.libvlc.MediaPlayer;