I'm developing my own video-conference Android-App and using the jitsi-sdk. But I want to set the back camera of my Smartphone as default. The user can change it once the conference is launched, but my goal is to change it before the conference begins without user interactions.
I already tried to switch camera by creating a cameraCapturer/videoCapturer, but the JitsiMeetActivity opens the front camera. Also I tried to use the putExtra-method for the launch-intent.
So my Activity extends from the JitsiMeetActivity and after Setting the JitsiMeetConferenceOptions the Conference is launched as followed:
Intent intent = new Intent(context, JitsiMeetActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setAction("org.jitsi.meet.CONFERENCE");
intent.putExtra("JitsiMeetConferenceOptions", options);
startActivity(context, JitsiMeetActivity);
After that, I can't change anything programmatically.
Is there any way to get the settings before the JitsiMeetActivity is opened?
I hope someone can help me.