Belal
Results
1
comments of
Belal
```js // screen stream try { const screenStream = await navigator.mediaDevices.getDisplayMedia(params); const videoTrack = screenStream.getVideoTracks()[0]; videoTrack.onended = () => { yourCallBack(); // callback on user click on stop sharing };...