public void setNativeMode(boolean value) {
   nativeMode = value;
   if (nativeMode) {
     mVideoView.setVisibility(View.VISIBLE);
   } else {
     mVideoView.setVisibility(View.GONE);
   }
 }
 public void showSurface() {
   if (nativeMode) {
     mVideoView.setVisibility(View.VISIBLE);
   } else {
     mSurfaceView.setVisibility(View.VISIBLE);
   }
 }