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

Set image height to make bandwidth usage lower #12024

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Set image height to make bandwidth usage lower #12024

merged 1 commit into from
Jun 17, 2024

Conversation

NickM-27
Copy link
Sponsor Collaborator

No description provided.

Copy link

netlify bot commented Jun 17, 2024

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit 38df375
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/6670450a6bcf1b00090e7640
😎 Deploy Preview https://deploy-preview-12024--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@NickM-27 NickM-27 merged commit ef304e6 into dev Jun 17, 2024
13 checks passed
@NickM-27 NickM-27 deleted the image-height branch June 17, 2024 14:21
useEffect(() => {
if (!config || !imgRef.current) {
return;
}

imgRef.current.src = `${apiHost}api/${name}/latest.jpg${
Copy link
Sponsor

Choose a reason for hiding this comment

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

I can def see a reduction of image quality on my mobile now. Looks worse. I liked the high quality previews before. Anyway we can have this as a configurable option?

Copy link
Sponsor Collaborator Author

Choose a reason for hiding this comment

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

the bandwidth usage was considerable and it had the possibility of causing live to take longer to startup. It is possible adjustments will be made to the quality but I don't see this being configurable

Copy link
Sponsor

Choose a reason for hiding this comment

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

Thanks. The quality looks pretty bad for me and is a big downgrade. I hope that can be addressed

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.

None yet

3 participants