I have an app that is like Vine or Instagram Video and I am trying to delete the last recorded segment. I am using AVAssetWriter and appending the sample buffer to the asset writer input when recording but I want to allow users to delete the last sample buffer that was recorded.
Is there a way to remove buffer appended to AVAssetWriter? I check the documentation and there is no methods to delete buffer.