-1

i want chose my screen and share it on socket.io server but without any select screen pop up form browser navigator.mediaDevices.getDisplayMedia({ video: true }).then((stream: MediaStream) => {

1 Answers1

2

This pop-up is a security/privacy mechanism that lets the user control what they want to share. It can not be worked around by a web page.

Philipp Hancke
  • 15,855
  • 2
  • 23
  • 31