You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i am recording video in Samsung Grand 2 with android version 4.4.2
but getting error "Can't capture video : Unable to record video with given setting"
CaptureConfiguration.Builder builder = new CaptureConfiguration.Builder(
PredefinedCaptureConfigurations.CaptureResolution.RES_360P,
PredefinedCaptureConfigurations.CaptureQuality.MEDIUM);
// Optional
builder.maxDuration(180); // in second
builder.maxFileSize(20); //in MB
builder.frameRate(24);
builder.showRecordingTime();
builder.noCameraToggle(); // Remove button to toggle between front and back camera
CaptureConfiguration configuration = builder.build();
final Intent intent = new Intent(QuestionnaireActivity.this, VideoCaptureActivity.class);
intent.putExtra(VideoCaptureActivity.EXTRA_CAPTURE_CONFIGURATION, configuration);
startActivityForResult(intent, AppConstants.REQUEST_VIDEO_CAPTURE);
The text was updated successfully, but these errors were encountered:
Hi i am recording video in Samsung Grand 2 with android version 4.4.2
but getting error "Can't capture video : Unable to record video with given setting"
CaptureConfiguration.Builder builder = new CaptureConfiguration.Builder(
PredefinedCaptureConfigurations.CaptureResolution.RES_360P,
PredefinedCaptureConfigurations.CaptureQuality.MEDIUM);
// Optional
builder.maxDuration(180); // in second
builder.maxFileSize(20); //in MB
builder.frameRate(24);
builder.showRecordingTime();
builder.noCameraToggle(); // Remove button to toggle between front and back camera
The text was updated successfully, but these errors were encountered: