cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Customized view for each participant's video stream

mesrbn
Level 1
Level 1

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

Who Me Too'd this topic