function sharescreen(){

let displayMediaOptions = {video: true, audio: false};
navigator.mediaDevices.getDisplayMedia(displayMediaOptions)
.then(function(stream){
video_el.srcObject = stream;
})

}

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *