开发者

Where can I find the native source code of android API of camera? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

In 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 by recorder.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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜