Marc Rousavy 036856aed5
chore: Move everything into package/ (#1745)
* Move everything into package

* Remove .DS_Store

* Move scripts and eslintrc to package

* Create CODE_OF_CONDUCT.md

* fix some links

* Update all links (I think)

* Update generated docs

* Update notice-yarn-changes.yml

* Update validate-android.yml

* Update validate-cpp.yml

* Delete notice-yarn-changes.yml

* Update validate-cpp.yml

* Update validate-cpp.yml

* Update validate-js.yml

* Update validate-cpp.yml

* Update validate-cpp.yml

* wrong c++ style

* Revert "wrong c++ style"

This reverts commit 55a3575589c6f13f8b05134d83384f55e0601ab2.
2023-09-01 18:15:28 +02:00

2.1 KiB

id title sidebar_position custom_edit_url
RecordVideoOptions RecordVideoOptions 0 null

Properties

fileType

Optional fileType: "mov" | "mp4"

Specifies the output file type to record videos into.

Defined in

VideoFile.ts:12


flash

Optional flash: "off" | "auto" | "on"

Set the video flash mode. Natively, this just enables the torch while recording.

Defined in

VideoFile.ts:8


onRecordingError

onRecordingError: (error: CameraCaptureError) => void

Type declaration

▸ (error): void

Called when there was an unexpected runtime error while recording the video.

Parameters
Name Type
error CameraCaptureError
Returns

void

Defined in

VideoFile.ts:16


onRecordingFinished

onRecordingFinished: (video: VideoFile) => void

Type declaration

▸ (video): void

Called when the recording has been successfully saved to file.

Parameters
Name Type
video VideoFile
Returns

void

Defined in

VideoFile.ts:20


videoCodec

Optional videoCodec: "h265"

The Video Codec to record in.

  • h264: Widely supported, but might be less efficient, especially with larger sizes or framerates.
  • h265: The HEVC (High-Efficient-Video-Codec) for higher efficient video recordings.

Defined in

VideoFile.ts:26