getDisplayMedia
inline suspend fun MediaDevices.getDisplayMedia(options: DisplayMediaStreamOptions): MediaStream(source)
The getDisplayMedia()
method of the MediaDevices interface prompts the user to select and grant permission to capture the contents of a display or portion thereof (such as a window) as a MediaStream.