So, not wanting to off-topic your issue tracker, but I'm trying to get a small sample working, which is relying on objc2 crates. I basically open a capture session with objc2_av_foundation and the Macbook camera as input, and read any QR codes as output. It is kind of following the sample code from Apple, which is for iOS, but I tried to distill it to only use the bare functionality to set up what I need, and as far as I can see, all the functionality I'm using should be available on macOS 13+.
Is the MetadataOutput supposed to work on macOS, or only iOS? Am I doing something wrong? See issue here: miried/avf-qr#1, and sample code here: https://github.com/miried/avf-qr/blob/main/src/main.rs.
Thanks for any help!
So, not wanting to off-topic your issue tracker, but I'm trying to get a small sample working, which is relying on objc2 crates. I basically open a capture session with
objc2_av_foundationand the Macbook camera as input, and read any QR codes as output. It is kind of following the sample code from Apple, which is for iOS, but I tried to distill it to only use the bare functionality to set up what I need, and as far as I can see, all the functionality I'm using should be available on macOS 13+.Is the MetadataOutput supposed to work on macOS, or only iOS? Am I doing something wrong? See issue here: miried/avf-qr#1, and sample code here: https://github.com/miried/avf-qr/blob/main/src/main.rs.
Thanks for any help!