ios - Record video with custom camera UI but prevent save -


i'm using avcapturefileoutputrecordingdelegate - didfinishrecordingtooutputfileat inside custom camera ui, don't want pass method because video been saved when finish recording. legacy reasons can't save video locally, take in static instance , delete local. how can ?

avfoundation framework has following output capture session.

  • avcapturemoviefileoutput - record , output movie file
  • avcapturevideodataoutput - process frames video being captures
  • avcaptureaudiodataouput - process audio data being captures
  • avcapturestillimageoutput - capture still image output

since don't want save recorded video file. other best option using avcapturevideodataoutput , each frame on continuous recording video , create video image buffer. make note not have audio output in case. again can add avcaptureaudiodataouput , embed audio separately on our recorded video. workaround not work higher frame rates. best suggestion save video temp folder , delete later.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -