outputFileTypeProfile
A profile for the output file type.
Declaration
var outputFileTypeProfile: AVFileTypeProfile? { get set }Discussion
The default value is nil, which indicates that the writer chooses an appropriate default profile for the output file type. If your app requires segment data that’s suitable for streaming, set the value to mpeg4AppleHLS or mpeg4CMAFCompliant to output CMAF-compliant mp4 data.
You can’t change this value after writing starts.