Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

华为meta10 录制完成后发生崩溃 #17

Open
chenpdsu opened this issue Nov 27, 2019 · 1 comment
Open

华为meta10 录制完成后发生崩溃 #17

chenpdsu opened this issue Nov 27, 2019 · 1 comment

Comments

@chenpdsu
Copy link

java.lang.IllegalArgumentException
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:80)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:164)
at com.aserbao.androidcustomcamera.whole.record.beans.MediaObject.stopRecord(MediaObject.java:91)
at com.aserbao.androidcustomcamera.whole.record.RecorderActivity$MyHandler.handleMessage(RecorderActivity.java:388)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:7470)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)

@aserbao
Copy link
Owner

aserbao commented Jun 2, 2020

两种情况:

  1. 录制视频过短
  2. 视频数据没有保存完成
    做下处理就可以了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants