public void startPlayback() { if (mIn != null) { mRun = true; if (thread == null) { thread = new MjpegViewThread(holder, saved_context); } thread.start(); } }
public void resumePlayback() { if (suspending) { if (mIn != null) { mRun = true; SurfaceHolder holder = getHolder(); holder.addCallback(this); thread = new MjpegViewThread(holder, saved_context); thread.start(); suspending = false; } } }
public void startPlayback() { if (mIn != null) { mRun = true; thread.start(); } }