working js file twilio-video.js: 1.14.1. all code working in single page .aspx file.
if possible participant audio track disable share code.
//Participant is all participant connect with Room. For Ex. User-1 Screen Page Participant User-2, User-3 And User-4.
participant.audioTracks.forEach(function (track) {
if (track.kind === 'audio') {
track.mediaStreamTrack.enabled = false;
track.mediaStreamTrack.muted = true;
}
// sid is disable Audio track Particular Participant sid. For Ex. User-1 Screen Participant User-3 audio disable using audio track sid It is Possible. If Possible give me code or reference url link.
if (track.sid == sid)
{
//participant audio track disable.
track.disable();
}
});
If it is possible give me code or url reference link.
It is possible User-3 screen only user-1 video and audio unable and disable. User-3 screen user-3 as localparticipant and user-1 as remoteparticipant.
If another way it's possible give me suggestion and reference url link. If Rest Api Possible Give me reference url link i am refer Twilio rest api.