How to pause video capture in Android?

I am completing the video recording in the Android application, but I want to pause the recording during capture, can anyone help me.

the following code is used to start recording

MediaRecorder recorder; startRecording.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { recorder.start(); } }); 
+4
source share
1 answer

You did not specify the code that you use to record video. Looking at the MediaRecorder class, it does not seem to provide pause functionality. Therefore, you will need to use a different class or add code to connect media files.

0
source

Source: https://habr.com/ru/post/1342249/


All Articles