How to allow share screen in headless mode ?
I started Firefox in headless mode, now I want to share that screen with other Peer over WebRTC. This is a demo page of share screen that I use https://www.webrtc-experiment.com/Pluginfree-Screen-Sharing/
When I click the button, this dialog show up: https://i.imgur.com/TdMg6Ki.png
How can I allow the share screen automatically, Firefox don't even allow remember choice. I run Firefox inside a Xvfb session, is there anyway to accept the share screen automatically ( config, run with hidden flag ) or programmatically ?
VirtualBox offers exceptional options for managing virtual machines from the command line using the VBoxManage utility. Headless mode is a useful feature for starting virtual machines. Thereby, the virtual machine will not be started from the VirtualBox GUI, but rather from the command line. A graphical popup window with the virtual machine’s console will not appear. Instead, a connection will be initiated through a remote desktop or SSH connection.
https://www.youtube.com/watch?v=Q1jWk_nu3Ds this link will be helpful