05-16-2022 09:22 AM - edited 05-17-2022 12:17 AM
Hi,
I wonder if there is a way to customize each remote participant's video view. For this, I need to get individual video/audio remote participants' media streams to be able to position each one the way I like. In the sample demo code where we subscribe on it like the following:
meeting.on('media:ready', (media) => {
if (media.type === 'local') {
(document.getElementById('self-view')).srcObject = media.stream;
}
if (media.type === 'remoteVideo') {
(document.getElementById('remote-view-video')).srcObject = media.stream;
}
if (media.type === 'remoteAudio') {
(document.getElementById('remote-view-audio')).srcObject = media.stream;
}
});
I have no control over each participant's video stream individually.
Thanks a lot to the great team and community!
Best regards
Mehran
Solved! Go to Solution.