Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
loop-play video in iMessage
How does one actually set the user data LOOP atom in a AVMutableMetadataItem? There seems to be no type for it defined, such as there is for quickTimeUserDataKeyAuthorThinking something like this? let metadata = AVMutableMetadataItem()
metadata.keySpace = AVMetadataKeySpace.quickTimeUserData
metadata.key = "LOOP" as NSCopying & NSObjectProtocol
metadata.value = UInt32(0) as NSCopying & NSObjectProtocol
let exporter = AVAssetExportSession(asset: asset, presetName: AVAssetExportPresetHighestQuality)
exporter.metadata = [metadata]But doesn't have any effect on the video...