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
Video Recording #135
Comments
Hi pavelupward,
Otherwise on the touch event of the camera
|
@pavelupward Can you please guide me how to record video with the current plugin and where to add the above code? |
@pavelupward can you provide more info about video recording? |
Is there anybody with a plugin version where it is possible to record a video ? |
@vipulsharma144 has submitted PR #587 which completes the work done from @icetec-solutions implementation. I would appreciate if anyone has any comments on that PR. |
Video recording functionality for Android has been implemented in master via #587 |
I made the service that launches the camera and record video in the background, but the video quality is very low, I assigned mMediaRecorder.setVideoSize (1920, 1080); but nothing has changed. If I add here this mMediaRecorder.setProfile line (CamcorderProfile.get (CamcorderProfile.QUALITY_HIGH)); then logs see such a warning System.err: at com.hidecamera.camera.RecorderService.startRecording (RecorderService.java:115) and the camera does not start, and if I delete this line, the camera starts and record video in a very poor quality
`public class MainActivity extends Activity implements SurfaceHolder.Callback {
private static final String TAG = "Recorder";
public static SurfaceView mSurfaceView;
public static SurfaceHolder mSurfaceHolder;
public static Camera mCameraBack;
private Button changeCamera;
}`
`public class RecorderService extends Service {
private static final String TAG = "RecorderService";
private SurfaceView mSurfaceView;
private SurfaceHolder mSurfaceHolder;
private static Camera mServiceCamera;
public static boolean mPreviewRunning;
private boolean mRecordingStatus;
private MediaRecorder mMediaRecorder;
}`
The text was updated successfully, but these errors were encountered: