SCRecorder
SCRecorder copied to clipboard
snapshotOfLastVideoBuffer was not working
CIContext was nil, now its not.
lol small world
hah fancy meeting you here. Ever figure out what was wrong with your AVPlayer?
Not yet, I took a break from it. Had some more people reach out to help, some promising leads. I may just move to paging.
Hey, that's a great fix. Could you please refactor your change on mergeSegmentsUsingPreset so the code is not duplicated? You could make the original implementation figure out the outputUrl and call [self mergeSegmentsUsingPreset:preset atURL:outputUrl completion:completion]
Also, it's a small detail but on the header you should add the specifiers to tell if an argument is optional or not. That way it integrates nicely with Swift :). Thank you so much!
Quick fix until pull request is open:
let recorder = SCRecorder.shared()
let context = SCContext(type: .auto)
recorder.setValue(context.ciContext, forKeyPath: "_context")