dryark / controlfloor

System for controlling devices remotely
Other
84 stars 27 forks source link

Show system alerts #3

Closed nanoscopic closed 3 years ago

nanoscopic commented 3 years ago

The app based video cannot show system alerts. It is prevented from seeing them by Apple restrictions for upload broadcast extensions.

There are several ways to do this:

  1. Use screenshots ( acquired through standard device services / iosif )
  2. Use mjpeg streaming from WDA ( need to test this; it would be good as a different video mechanism entirely also )
  3. Use AVFoundation / QuicktimeVideoHack based frames

In order to know when to switch over to the alternate frame mechanism, syslog can be used to trigger as the alerts appear / disappear.

nanoscopic commented 3 years ago

This is done/working currently via screenshots. Syslog is being used to switch to this mechanism for alerts.