Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video length and storage quota increase #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JirkaKuba
Copy link

No description provided.

Copy link
Owner

@maxneaga maxneaga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @JirkaKuba , for opening this PR.
I am wondering what was the reasoning behind this delivery? I am only guessing to store more footage as the device capacities have increased over the past couple of years.

private static int MAX_DURATION = 45000; // 45 seconds
private static int QUOTA = 3000; // megabytes
private static int QUOTA_WARNING_THRESHOLD = 500; // megabytes
private static int MAX_DURATION = 600000; // 10 minutes
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the duration per video clip.
Some devices may have trouble recording longer video clips. For example, https://9to5google.com/2021/08/30/pixel-5a-overheating-issues-google/

Pixel 5a would stop recording after about 4 minutes of recording 4K video with heat as the cause

thus we keep the individual snippets as short as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants