@DTS Engineer
Thanks Greg, feedback filed in FB15294117.
Out of interest, were there any Camera Extensions you know of that worked that provide virtual cameras? I ended up rewriting against native MacOS to see it work as a temporary workaround, but if there is a known virtual camera extension that works it would be great to be able to provide an alternative solution to my users. No worries if not.
Thanks for the quick response!
Post
Replies
Boosts
Views
Activity
The repro in the AVCamBarcode (https://developer.apple.com/documentation/avfoundation/capture_setup/avcambarcode_detecting_barcodes_and_faces) sample app is to:
Enable and switch to Mac Catalyst as a destination
Add the following lines to CameraViewController.swift:220
Use a camera extension.
With the commented out line you will see the preview correctly and as expected. Uncomment the line to add an output and everything will break.
let output = AVCaptureVideoDataOutput()
guard session.canAddOutput(output) else {
fatalError()
}
// session.addOutput(output) // Uncomment this line for everything to break.
Bothering to write the repro for this post got me thinking, if I don't use the format everywhere and instead use the output format for the mixer->output connection, and then add another mixer on the input side so I can do input->input mixer in the output format, and input mixer->sink in my desired format, I can mix N nodes and hear them! However, I get from AU (0x92e7e0b2): auou/vpio/appl, render err: -10,874 (kAudioUnitErr_TooManyFramesToProcess) on the input side now.
Hi @smialek, did you ever figure out how to handle this audio? I go from my expected 48kHz 2 channel up to 7 channel 96kHz when I turn on voice processing and I'm also a little lost as to what I'm suppossed to do with that.