Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Unlikely. The media recorder API does not allow receiving data before the recording is stopped.
You can get raw frames with previews. And encode them using MediaCodec.
Since version 4.1 such support is included, but it works very unstable.
And since version 4.3, it is possible to assign Surface as the source of frames, and there are already significantly fewer problems with it.
You can start exploring the topic here.
bigflake.com/mediacodec
habrahabr.ru/post/233005
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question