this might help as well
https://developer.apple.com/documentation/speech/sfspeechaudiobufferrecognitionrequest/1649395-appendaudiosamplebuffer
func appendAudioSampleBuffer(_ sampleBuffer: CMSampleBuffer)
Post
Replies
Boosts
Views
Activity
Dear arshankhanifar thank you so much. I have lost spent the last couple of days trying to get high frame rate in my app. And only thank to persevering search did I eventually find your most valuable post. Thanks again
The documentation quote/page you are referring to has moved to Formats.
Also in this page inputPriority Apple is wrongfully stating:
When you change the device’s format, the session preset automatically changes to this value (inputPriority).
https://stackoverflow.com/a/17331242/2742007
avPlayer.currentItem?.step(byCount: isForward ? 1 : -1)
https://developer.apple.com/documentation/avfoundation/avplayeritem/1387968-step
Thank you very much @arshankhanifar.
In addition, I have noticed (iPad Pro 9.7, iOS 16.2) that I have to configure the device's frame rate after having added the video input to the capture session. Otherwise, the device frame rate seems to be reset to some default values.