Skip to main content

From Camera

Start Camera#

Start the camera for result using the ACTION_VIDEO_CAPTURE action.

Handle Camera Result#

If the camera exits with Activity.RESULT_OK, we get the Uri of the captured video using Intent.getData().

Start Editor#

Configure the LoadSettings to set the source to the Uri of the captured video. The VideoEditorBuilder takes in the configured VideoEditorSettingsList and starts the video editor. The result is obtained in the onActivityResult() method when the editor exits.