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

Fixing MJPEG streaming in Werkzeug #2277

Merged
merged 1 commit into from
Jun 12, 2016
Merged

Fixing MJPEG streaming in Werkzeug #2277

merged 1 commit into from
Jun 12, 2016

Conversation

stjohnjohnson
Copy link
Contributor

Description: This fixes MJPEG streaming by changing the response to include direct_passthrough.

The only downside to this change was that I had to change how Response is passed into mjpeg_stream so that I could pass this flag.

Related issue (if applicable): fixes #2260

Checklist:

If code communicates with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass

@balloob
Copy link
Member

balloob commented Jun 12, 2016

Seems good. I'm planning a hot fix for 0.21 and I'll include this fix. Thanks

@balloob balloob merged commit 3723c3a into home-assistant:dev Jun 12, 2016
@michaelarnauts
Copy link
Contributor

@stjohnjohnson, I just upgraded again to 0.21.1, but the issue still occurs. The preview is working, and I get a live image when I click the camera image, but when I close that, the interface freezes. It happens on every device, and when I refresh the page, it keeps loading.

@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interface freezes after opening an MJPEG camera view
3 participants