default RecordVideoOptions.fileType to mp4

- mov does not support fragmented mp4
This commit is contained in:
Rui Rodrigues 2024-07-16 09:50:44 +01:00
parent 9f2c7906e5
commit 91767e71c8

View File

@ -10,7 +10,7 @@ import AVFoundation
import Foundation import Foundation
struct RecordVideoOptions { struct RecordVideoOptions {
var fileType: AVFileType = .mov var fileType: AVFileType = .mp4
var flash: Torch = .off var flash: Torch = .off
var codec: AVVideoCodecType? var codec: AVVideoCodecType?
/** /**