We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4ef208 commit d77d62fCopy full SHA for d77d62f
src/camera-plus.android.ts
@@ -376,7 +376,7 @@ export class CameraPlus extends CameraPlusBase {
376
this._mediaRecorder.setAudioSource(android.media.MediaRecorder.AudioSource.CAMCORDER);
377
this._mediaRecorder.setVideoSource(android.media.MediaRecorder.VideoSource.CAMERA);
378
// Step 3: Set a CamcorderProfile (requires API Level 8 or higher)
379
- this._mediaRecorder.setProfile(android.media.CamcorderProfile.get(android.media.CamcorderProfile.QUALITY_HIGH));
+ this._mediaRecorder.setProfile(android.media.CamcorderProfile.get(this.cameraId, android.media.CamcorderProfile.QUALITY_HIGH));
380
// Step 4: Set output file
381
const videoPath = this._getOutputMediaFile(2).toString();
382
this._videoPath = videoPath;
0 commit comments