the snapchat camera can take short clip , play instantly user. user has option use video. trying replicate feature.
the path going down using avcapturevideodataoutputsamplebufferdelegate , calling captureoutput(captureoutput: avcaptureoutput!, didoutputsamplebuffer samplebuffer: cmsamplebuffer!, fromconnection connection: avcaptureconnection!) store list of uiimage.
then used avassetwriter create .mp4 file , saved documents. once saved play video using avplayer.
this worked avplayer not layout want. i want show the images in order @ same frame rate recorded them in
what best way this?
Comments
Post a Comment