Set self-view by default when joining a meeting in Android

Dear all,
is it possible when I join a meeting, to set the view to what my Android device camera shows by default
and not view what the other participant(s) camera see(s)? This view is displayed on the bottom right of the jitsi screen and if you click it, the view is changed and shows what my camera sees. I would like to avoid this and make it default when the user is joined the meeting.

I was wondering if it is available any feature-flags to be enabled or any broadcast event or it can be set via the jibri/jitsi configuration at the server side.

I am using the Mobile SDK version 5.1.0 for Android.


Hey @kalgik
Were you able to find a solution for this? I have the exact same use case.

No, unfortunately not.

I was exploring the code. I think passing the local participant’s id to the LargeVideo view should do the trick! Checking a way to access the local participant id through state.

I was able to achieve it by having the local participant’s id as the default prop value for LargeVideo component. You can use the util function named getLocalParticipant to get the local participant.

Not sure this is the right way though! Another way could be to pin the local participant by default.

I was able to retrieve all the participants’ ids using the ParticipantsService during the call though the ParticipantsInfoCallback(). However, I could not find the way to use the getLocalParticipant and set the corresponding value to a LargeVideo as you mentioned. Can you provide the related classes?

LargeVideo.native.js for Large video component and you can find getLocalParticipant(state) function in the file at react/features/base/participants/functions.js. The locations might have changed depending on the SDK version but you can lookup for the strings.