Hi,
I want to show only my video (only one participant) in a group video call, can we customize the video view like this in Sendbird video SDK?
Thanks in advance.
Hi,
I want to show only my video (only one participant) in a group video call, can we customize the video view like this in Sendbird video SDK?
Thanks in advance.
Hi @Ashwini , You can customize video views by only setting videoView
property for the participants that you want. In this case, you can only show local user’s video view by setting room.localParticipant?.videoView = VIDEO_VIEW
.
Thanks for the response @mininny
It’s working but my concern is if I am a performer who wants to perform something in a video call then only my video will be visible to all participants in a group call, other participant videos will be hidden.
Let’s assume there is 3 participant (players) in a game and there is a sequence of players.
Case 1: 1st player turn (performer) →
1st player video will be visible to 2nd and 3rd players in a group call and 2nd and 3rd players’ video (view) will be hidden.
Case 2: 2nd player turn (performer) →
2nd player video will be visible to 1st and 3rd players in a group call and 1st and 3rd players’ video(view) will be hidden.
Case 3: 3rd player turn (performer) →
3rd player video will be visible to 1st and 2nd players in a group call and 1st and 2nd players’ video(view) will be hidden.
How can we do this in Sendbird?
Thanks
Hi,
I am still waiting for your response.
Hi @Ashwini ,
I think you could achieve something like that by enabling and disabling the participants’ videos when necessary by calling participant.startVideo()
and participant.stopVideo()
.
You could also hide the UIView that you have added to your view by setting the isHidden
flag of the view as true
.