VideoRecordSessionProtocol
public protocol VideoRecordSessionProtocol : VideoRecorderProtocol, VideoSessionProtocol
Protocol for a video session that can be recorded
This session has a video recorder that can be controlled to start/stop the recording with the rear camera. You can configure the session to record full video and save it to camera roll or just record the highlights. Highlights can also be exported to camera roll or viewed with this SDK
-
Information about recording video
Use it to get the video dimensions, fps and duration
Declaration
Swift
var videoInfo: VideoInfo? { get } -
Export full video to the camera roll
If true, the full video will be saved to the camera roll at the end of the recording This requires
NSPhotoLibraryUsageDescriptionin the Info.plistDeclaration
Swift
var exportFullVideo: Bool { get set } -
Process the video and create the real time highlights
If true, the video will be processed in real time and the highlights will be created, otherwise this session will act as the video recorder.
Declaration
Swift
var processHighlights: Bool { get set }
VideoRecordSessionProtocol Protocol Reference