Change listener
Opened this issue · 2 comments
sindresorhus commented
Could be useful to expose a way to be notified when the status changes.
Some resources:
- https://stackoverflow.com/questions/42681127/coremediaio-incorrectly-updated-properties-kcmiodevicepropertydeviceisrunningso?rq=1
- https://github.com/wouterdebie/onair/blob/52f2ea0b72793e1eee0f64478bc7c3a87c094a02/Sources/onair/Camera.swift
- https://github.com/jakobwesthoff/on-air-notifier/blob/de4a5794c561be510b1a0537f229f03fbb6e6635/on-air-notifier/CameraWatcher.swift
- https://github.com/lvsti/Cameo/blob/79d0037e839807b08e590cd7f8027e1a163aa456/CameoSDK/Property.swift
Oluwasetemi commented
Can I help with this?
sindresorhus commented
Sure :)