Is there pause available in mediarecorder class

我们两清 提交于 2019-12-02 06:19:10

问题


Is there a way to pause the recording and start after a while.


回答1:


Short answer: no

Once you are recording the only possible actions are stop and reset.




回答2:


There is no pause() functionality when recording media. I would try conjoining two separate audio files together once the user hits your "stop" button in the app. Either that, or try to find a way to write to the same file stream after using the stop() method.



来源:https://stackoverflow.com/questions/6128440/is-there-pause-available-in-mediarecorder-class

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!