|
1 | 1 | package software.solid.fluttervlcplayer; |
2 | 2 |
|
3 | | -import org.videolan.libvlc.LibVLC; |
4 | | -import org.videolan.libvlc.Media; |
5 | | -import org.videolan.libvlc.MediaPlayer; |
6 | | -import org.videolan.libvlc.RendererDiscoverer; |
7 | | -import org.videolan.libvlc.RendererItem; |
8 | | -import org.videolan.libvlc.interfaces.IMedia; |
9 | | -import org.videolan.libvlc.interfaces.IVLCVout; |
10 | | - |
11 | 3 | import android.content.Context; |
12 | 4 | import android.graphics.Bitmap; |
13 | | -import android.graphics.SurfaceTexture; |
14 | 5 | import android.net.Uri; |
15 | 6 | import android.util.Base64; |
16 | 7 | import android.util.Log; |
17 | | -import android.view.Surface; |
18 | | -import android.view.SurfaceView; |
19 | 8 | import android.view.View; |
20 | 9 |
|
21 | 10 | import androidx.annotation.Nullable; |
22 | 11 |
|
23 | | -import io.flutter.plugin.common.BinaryMessenger; |
24 | | -import io.flutter.plugin.common.EventChannel; |
25 | | -import io.flutter.plugin.platform.PlatformView; |
26 | | -import io.flutter.view.TextureRegistry; |
27 | | -import software.solid.fluttervlcplayer.Enums.HwAcc; |
| 12 | +import org.videolan.libvlc.LibVLC; |
| 13 | +import org.videolan.libvlc.Media; |
| 14 | +import org.videolan.libvlc.MediaPlayer; |
| 15 | +import org.videolan.libvlc.RendererDiscoverer; |
| 16 | +import org.videolan.libvlc.RendererItem; |
28 | 17 |
|
29 | 18 | import java.io.ByteArrayOutputStream; |
30 | | -import java.io.File; |
31 | 19 | import java.io.IOException; |
32 | 20 | import java.util.ArrayList; |
33 | 21 | import java.util.HashMap; |
34 | 22 | import java.util.List; |
35 | 23 |
|
| 24 | +import io.flutter.plugin.common.BinaryMessenger; |
| 25 | +import io.flutter.plugin.common.EventChannel; |
| 26 | +import io.flutter.plugin.platform.PlatformView; |
| 27 | +import io.flutter.view.TextureRegistry; |
| 28 | +import software.solid.fluttervlcplayer.Enums.HwAcc; |
| 29 | + |
36 | 30 | final class FlutterVlcPlayer implements PlatformView { |
37 | 31 |
|
38 | 32 | private final String TAG = this.getClass().getSimpleName(); |
|
0 commit comments