Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 4.22 KB

gizo-video-setting.md

File metadata and controls

45 lines (30 loc) · 4.22 KB
coverY
0

GIZO Video Setting

Overview

Video settings on GIZO SDK refer to the various options and configurations that allow users to control and customize the video recording.

GizoVideoSetting is used to customize several behaviors and functionalities of the SDK, including specifying the quality of video capturing and the path to the saved video file.

To have access to video setting options, you need to add the following block of code in the Application class, onCreate function, inside Gizo.initialize.

{% tabs %} {% tab title="Swift" %}

let options: GizoAppOptions = GizoAppOptions()
options.videoSetting.allowRecording = true
options.videoSetting.fileLocation = FileLocationPath.Cache
options.videoSetting.quality = Quality.HD

{% endtab %} {% endtabs %}

In the example above, the GizoVideoSetting sets the video-related properties such as allowRecording, quality (setting the video quality to HD quality), and fileLocation (specifying the file location for storing the video files, in this case, set to the cache directory).

This code suggests that the GizoAppOptions class provides a way to specify various configuration options for the GIZO application, including video-related settings. The specific implementation and usage of GizoAppOptions would depend on the details of the GIZO application.

Here are the available options that can be set in videoSetting in the Application class:

OptionsDefault ValueDescription

allowRecording(Boolean)

falseTo activate recording video or not.
quality(Quality)Quality.HDTo define the quality of video capturing, such as SD, HD, FHD, UHD, LOWEST and HIGHEST.

fileLocation

(FileLocationPath)

FileLocationPath

.CACHE

To save video files, in the CACHE or DOWNLOAD.

Different Video Qualities

Mobile devices typically support various video quality options, which may vary depending on the device's capabilities, operating system, and video recording settings. Here are some video quality options found on mobile devices:

  • SD (Standard Definition): SD refers to videos recorded or played back at a standard resolution, typically 480p (854x480 pixels) or lower. SD videos have lower visual clarity and detail compared to higher-resolution options.
  • HD (High Definition): HD videos offer improved quality and resolution compared to SD. They are typically recorded or played back at 720p (1280x720 pixels) or 1080p (1920x1080 pixels). HD videos provide sharper visuals and more detail.
  • FHD (Full HD): FHD videos refer to videos with a resolution of 1080p (1920x1080 pixels). They offer even higher quality and clarity compared to HD videos. FHD is widely used as a standard for high-quality video content.
  • UHD (Ultra High Definition) or 4K: UHD videos have a resolution of 2160p (3840x2160 pixels) or higher. UHD provides significantly higher detail, sharpness, and visual fidelity compared to lower-resolution options. It is commonly referred to as 4K due to its approximate horizontal pixel count of 4000.
  • Lowest Quality: "Lowest" likely indicates the lowest available video quality setting on the device or application. The specific resolution and quality may vary depending on the device and settings, but it generally implies a lower resolution and reduced visual quality.
  • Highest Quality: "Highest" generally refers to the maximum video quality supported by the device or application. It represents the best available resolution, sharpness, and visual fidelity that the device or application can handle.