Therefore, Instagram also suffers from MediaRecorder's delay. You can tell when you make quick taps. The progress bar resets. This is only after you hold the record button for longer than a second, it actually captures something.
MediaRecorder. - API setPreviewCallbackWithBuffer. API , YUV, . MediaCodec .
OEM- MediaCodec , , 4.3. , MediaCodec, , , , YUV, . AV.
ffmpeg - , ffmpeg. VP8 + vorbis - , .