MediaRecorder and VideoSource.SURFACE, stop failed: -1007 (a serious Android bug)

I guess there is no solution so the answer: MediaRecorder/Android is buggy or Mobile companies didn’t care of all Android features while developing their devices Update MediaCodec is also buggy with canvas mSurface = mMediaCodec.createInputSurface(); mSurface.lockHardwareCanvas() It works on much more devices with MediaCodec but still some devices may fail to record video correctly using … Read more