Screen Capture API

Hey,

how can i read navigator.mediaDevices.getDisplayMedia(displayMediaOptions) and show it to 3d plan ?

thanks,

Hi @Ahmed_Chlagou and welcome,

If you get a handle to the video stream then you can easily render it to a 3d plane using a custom texture.

Check this example on how that is done:

https://developer.playcanvas.com/en/tutorials/video-textures/

Hi Leonidas
thank you :smiley: