Files
OpenScreens/Apps/iOS
Mohammad Abu-Garbeyyeh 8ddf59e585 Show a session in Picture in Picture on iPhone and iPad
The remote screen can go into the system's floating window, to keep an
eye on a computer while using other apps. It is drawn from the same
picture screenshots are taken of, so it works in Standard and in High
Performance and shows every display that is selected, scaled down to at
most 1280 pixels on the long side.

Each computer's connection settings have a Picture in Picture section:

- On Demand, the default, adds a button to the session's controls and
  draws only while the window is up. Automatically brings the window up
  whenever the app is left during a session, which needs a picture kept
  ready once a second. Off leaves sessions without it.
- The frame rate is 15 fps, 30 fps or Full. In High Performance a frame
  is drawn only once a new one has come in, so a still screen costs
  next to nothing at any rate.

The app now declares the audio background mode, which Picture in Picture
needs and which keeps the connection running behind the window.

From #4. Brought onto main with the window's own buttons left out. In
#4 they sent keys of the user's choosing, and so that the system would
not dim the skip buttons the window showed a span of a day where the
picture is live: behaviour the system does not promise, which can come
back as a change of its own. The session screen is the one the folding
iPhone left, with the layer behind the picture on the phone's own
screen.
2026-12-03 05:41:13 +03:00
..