GithubHelp home page GithubHelp logo

Comments (7)

huaf22 avatar huaf22 commented on June 13, 2024

我也遇到同样的问题, 你有解决这个问题吗?
下面是我的错误日志:

E/MediaRecorder: stop failed: -1007
java.lang.RuntimeException: stop failed.
    at android.media.MediaRecorder.stop(Native Method)
    at cn.mobile.tv.service.VideoRecordService.stopRecord(VideoRecordService.java:128)
    at cn.mobile.tv.service.VideoRecordService$1.run(VideoRecordService.java:111)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:135)
    at android.os.HandlerThread.run(HandlerThread.java:61)

from cameraview.

CJT2325 avatar CJT2325 commented on June 13, 2024

试试1.0.0最新的版本

from cameraview.

CJT2325 avatar CJT2325 commented on June 13, 2024

@huaf22

from cameraview.

huaf22 avatar huaf22 commented on June 13, 2024

@CJT2325 那这个问题具体在代码中是是怎么解决的? 需要设置什么参数?

from cameraview.

CJT2325 avatar CJT2325 commented on June 13, 2024

你可以跳转stop这里的源码看他上面注释,说开启录像后立刻stop会直接报错,所以我就在立刻stop的时候,用一个线程延迟操作一下stop

from cameraview.

huaf22 avatar huaf22 commented on June 13, 2024

@CJT2325 我看到延迟操作的代码了, 但是我现在的问题是开始录制10s后停止录制也会出现这样的问题, 保存视频的文件也不能播放

from cameraview.

CJT2325 avatar CJT2325 commented on June 13, 2024

QQ 445263848

from cameraview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.