Where can I find the native source code of android API of camera? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionIn order to make the streaming and saving data of the recording at the same time, I would like to use the output of Mediarecord开发者_Python百科er which an Api in Android to record a video.
However, when I save the data that produced byrecorder.setOutputFile
, It is not a legal 3gp format.
Therefore, I would like to study the source code of camera.start()
and camera.stop()
to make the output file become readable.
Does someone can tell me where can I find the native code of these member?Here is the link, please try it:
https://android.googlesource.com/platform/packages/apps/Camera
The android sources are here: https://android.googlesource.com.
This posting might also be informative: https://groups.google.com/group/android-platform/browse_thread/thread/8995288acaa30018?fwc=1
MediaRecorder itself:
https://android.googlesource.com/platform/frameworks/base/+/master/media/java/android/media/MediaRecorder.java
精彩评论