public VideoView(Context context) { super(context); sLibVLC = new LibVLC(context, null); }
public VideoView(Context context) { super(context); sLibVLC = new LibVLC(context, null); }
public VideoView(Context context) { super(context); sLibVLC = new LibVLC(context, null); }
public VideoView(Context context) { super(context); sLibVLC = new LibVLC(context, null); }
public VLCPlayer(ReactApplicationContext reactContext) { super(reactContext); this.context = reactContext; try { mLibVLC = new LibVLC(); } catch(IllegalStateException e) { Toast.makeText(reactContext, "Error initializing the libVLC multimedia framework!", Toast.LENGTH_LONG).show(); } }
public MediaPlayer() { mLibVLC = new LibVLC(null); //FIXME, this is wrong mMediaPlayer = new org.videolan.libvlc.MediaPlayer(mLibVLC); }
private void setUpVideoPlayer() { final ArrayList<String> args = new ArrayList<>(); args.add("-vvv"); mLibVLC = new LibVLC(this, args); mMediaPlayer = new MediaPlayer(mLibVLC); }
private void setLibVlc() { final ArrayList<String> args = new ArrayList<>(); args.add("-vvv"); mLibVlc = new LibVLC(getActivity(), args); }
public MediaPlayer() { mLibVLC = new LibVLC(null); //FIXME, this is wrong mMediaPlayer = new org.videolan.libvlc.MediaPlayer(mLibVLC); }
public MediaPlayer() { mLibVLC = new LibVLC(null); //FIXME, this is wrong mMediaPlayer = new org.videolan.libvlc.MediaPlayer(mLibVLC); }
public MediaPlayer() { mLibVLC = new LibVLC(null); //FIXME, this is wrong mMediaPlayer = new org.videolan.libvlc.MediaPlayer(mLibVLC); }
public static synchronized void restart(final Context context) throws IllegalStateException { if (sLibVLC != null) { sLibVLC.release(); sLibVLC = new LibVLC(context.getApplicationContext(), VLCOptions.getLibOptions(context)); } }
public VlcVideoLibrary(Context context, VlcListener vlcListener, TextureView textureView) { this.vlcListener = vlcListener; this.textureView = textureView; vlcInstance = new LibVLC(context, new VlcOptions().getDefaultOptions()); options.add(":fullscreen"); }
public VlcVideoLibrary(Context context, VlcListener vlcListener, SurfaceTexture surfaceTexture) { this.vlcListener = vlcListener; this.surfaceTexture = surfaceTexture; vlcInstance = new LibVLC(context, new VlcOptions().getDefaultOptions()); options.add(":fullscreen"); }
public VlcVideoLibrary(Context context, VlcListener vlcListener, Surface surface) { this.vlcListener = vlcListener; this.surface = surface; surfaceHolder = null; vlcInstance = new LibVLC(context, new VlcOptions().getDefaultOptions()); options.add(":fullscreen"); }
public VlcVideoLibrary(Context context, VlcListener vlcListener, Surface surface, SurfaceHolder surfaceHolder, int width, int height) { this.vlcListener = vlcListener; this.surface = surface; this.surfaceHolder = surfaceHolder; this.width = width; this.height = height; vlcInstance = new LibVLC(context, new VlcOptions().getDefaultOptions()); options.add(":fullscreen"); }
public VlcVideoLibrary(Context context, VlcListener vlcListener, Surface surface, SurfaceHolder surfaceHolder) { this.vlcListener = vlcListener; this.surface = surface; this.surfaceHolder = surfaceHolder; vlcInstance = new LibVLC(context, new VlcOptions().getDefaultOptions()); options.add(":fullscreen"); }
public VlcVideoLibrary(Context context, VlcListener vlcListener, SurfaceView surfaceView) { this.vlcListener = vlcListener; this.surfaceView = surfaceView; vlcInstance = new LibVLC(context, new VlcOptions().getDefaultOptions()); options.add(":fullscreen"); }
public VlcVideoLibrary(Context context, VlcListener vlcListener, Surface surface, int width, int height) { this.vlcListener = vlcListener; this.surface = surface; this.width = width; this.height = height; surfaceHolder = null; vlcInstance = new LibVLC(context, new VlcOptions().getDefaultOptions()); options.add(":fullscreen"); }
/** * A set of utility functions for the VLC application */ public synchronized static LibVLC get(final Context context) throws IllegalStateException { if (sLibVLC == null) { if (!VLCUtil.hasCompatibleCPU(context)) { Log.e(TAG, VLCUtil.getErrorMsg()); throw new IllegalStateException("LibVLC initialisation failed: " + VLCUtil.getErrorMsg()); } sLibVLC = new LibVLC(context, VLCOptions.getLibOptions(context)); } return sLibVLC; }