The usage of Android MediaCodec API