Allow creating virtual screens (for streaming)
There are a number of use cases, where creating a virtual screen could make sense. What comes to mind is:
- DisplayLink
- Remote network display (WiFi-Display or similar)
For the first case, the screen should just appear as if it was plugged in. In the second case, we will need to rely on another application to create the display and stream the contents. It could well be, that these are completely separate issues in some regards. I imagine that it would be a multi-step procedure:
- Creation of the monitor (through DBus)
- Setting information (possibly EDID and/or just modes)
- Making the monitor available to the user; at this point it would become visible
One thing that one probably wants to try and prevent is that the user ends up with a virtual monitor that is not being streamed through any means. I suspect that binding the existence to the requesting application or even a requested ScreenCast stream could be a good idea.
Issue about the WiFi-display usecase: https://github.com/benzea/gnome-screencast/issues/12