AVAssetWriter append() failed

Hello!

Just curious if AVAssetWriter append() randomly fails for anyone but me? Seems to happen when live streaming (encoding with VTCompressionSession) and recording (with AVAssetWriter) at the same time.

Hello @eerimoq,

Is there an error associated with this failure?

The docs for append(_:) state:

"If this method returns false, check the value of the asset writer’s status property to determine whether the writing operation’s status is complete, failed, or canceled. If the status is AVAssetWriter.Status.failed, the asset writer’s error property contains an error object that describes the failure."

-- Greg

AVAssetWriter append() failed
 
 
Q