Simple wrapper for AVFoundation
AVAssetWriter
; for writing asset during Broadcast Extension activity
Usage:
- Add
Broadcast Extension
target - Use Swift Package Manager to add dependency to your
Broadcast Extension
target - Add
App Groups
capability into main andBroadcast Extension
targets - Call appropriate methods in your
RPBroadcastSampleHandler
instance inBroadcast Extension
target (see Example project in repo) - When
BroadcastWriter
finished, don't forget to move Broadcast Writer output file to your AppGroup container directory, to have access from main target, see Example - Pay Attention to use your own
App Group
identifiers when usingExample
project