I have created Ziggeo embedded Video Recorder and my view requirement is 320*320, but after implementation the camera resolution is not according to view(Open default camera resolution), So please help.
Java code here
Ziggeo ziggeo1 = new Ziggeo(appToken, this);
RecorderConfig config = ziggeo1.getRecorderConfig();
config.setResolution(new Size(320, 320));
RecorderConfig configBuilder = new RecorderConfig.Builder(this)
.maxDuration(5000)
.shouldSendImmediately(false)
.shouldEnableCoverShot(false)
.resolution(config.getResolution())
.configureStopRecordingConfirmationDialog(new StopRecordingConfirmationDialogConfig())
.shouldConfirmStopRecording(true)
.facing(CameraView.FACING_FRONT)
.shouldShowFaceOutline(true)
.quality(CameraView.QUALITY_HIGH)
.callback(this)
.build();
ziggeo1.setRecorderConfig(configBuilder);
ziggeo1.enableCrashTracker(this);
ziggeo1.attachCameraRecorder(getSupportFragmentManager(), R.id.video_container);
Xml code here
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/recorder_layout"
android:orientation="vertical"
android:layout_marginTop="20dp"
android:layout_gravity="center">
<FrameLayout
android:id="@+id/video_container"
android:layout_width="320dp"
android:layout_height="320dp"
/>
</LinearLayout>