title: Android MediaRecorder - Screen recording video gets corrupted
body: <p>We are using the screen recording functionality of Android's <a href="https://developer.android.com/reference/android/media/MediaRecorder" rel="nofollow noreferrer">MediaRecorder</a> APIs.</p>
  <p>On Some devices, the recorder video gets corrupted. But, it is not consistent.</p>
  <p>Sometimes it works on the same device as well. I have tried changing the video encoder from     H264 to the default one. But that didn't work.</p>
  <p>Has anyone faced a similar issue previously and can help us?</p>