title: Android MediaCodec: how to request a key frame when encoding
body: <p>In Android4.1, a key frame is often requested in a real-time encoding application. But how to do it using MediaCodec object? The current Android4.2 SDK seems not support it.</p>