VideoSessionProtocol

public protocol VideoSessionProtocol

Protocol to create and handle a video session

Video session should be used to process one video The video can be recorded or uploaded from local file URL usually from the camera roll

Note

you can’t mix recording and importing in one session
  • unique identifier of the session

    Used to group the highlights found in this session. Every highlight will have group set to this value.

    Declaration

    Swift

    var group: String { get }
  • type of the video session

    Declaration

    Swift

    var type: VideoSessionType { get }
  • Clean the session.

    Call this method when you are done processing the video and got the results. This will delete intermediate files and other temporary data. The call will NOT delete the results, you can still access them afterwards. The same method will be called on deinit if it wasn’t called before

    Declaration

    Swift

    func cleanup()