The question is: as written in the title!
Imagine a situation where Chun, Anne-Marie and Akmed are in a vid chat together. There's no point in Chun seeing himself, he only wants to see the other two and the same goes for them, thus:
Chun: should see Anne-Marie and Akmed
Anne-Marie: should see Chun and Akmed
Akmed: should see Chun and Anne-Marie
as the guy building this for the 3 of them, how can i achieve this?
Views
Replies
Total Likes
Hi,
There is property called publisherIds in WebcamSubscriber which takes an array of userIds. You need to specify it whose streams you want to show. By default, your webcam shows every camera stream in the room. However, if you set this property, only the streams of those users whose Ids you are passing in this array will be shown.
In your case, if you don't yourself to be shown, pass an array of userIds containing all Ids except you. You can get the list of userIds from userManager and filter out your id from that and pass the rest into the property stated above. It should work.
Thanks
Hironmay Basu
Views
Replies
Total Likes
nice one, thanks hironmay, i'll try that
yay!
Views
Replies
Total Likes