feat: Add width
and height
to VideoFile
output (#2281)
* feat: Add `width` and `height` to `VideoFile` output * Format
This commit is contained in:
@@ -52,6 +52,13 @@ class RecordingSession {
|
||||
return assetWriter.outputURL
|
||||
}
|
||||
|
||||
/**
|
||||
Gets the size of the recorded video, in pixels.
|
||||
*/
|
||||
var size: CGSize? {
|
||||
return videoWriter?.naturalSize
|
||||
}
|
||||
|
||||
/**
|
||||
Get the duration (in seconds) of the recorded video.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user