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
Amcrest Camera component streaming only works with aiohttp==1.2 #6884
Comments
I'm sorry if this doesn't help, but I believe there was a new version if hass released recently that allowed components to install versions of core hass libraries that are different: https://home-assistant.io/blog/2017/03/22/broken-dependencies/ |
@cmsimike Thanks for pointing this out. I've already double checked that. The problem is with the library version. I'm still digging to see what could be the cause of that. |
Try dev. We upgrade to aiohttp2 that change a lot |
@pvizeli I'll give a try and let you know |
@pvizeli Unfortunately it is still happening on dev and 0.42. |
Home Assistant release (
hass --version
):0.41
Python release (
python3 --version
):3.5
Component/platform:
camera/amcrest
Description of problem:
With Home Assistant 0.40/41 the Amcrest camera component streams the data for only 4 or 5 seconds and then freezes. To get it streaming again, a full page refresh is needed and then it works for more 4 or 5 seconds.
Downgrading the aiohttp==1.2 version the Amcrest camera component works as expected and continue streams without any problems.
I'm not sure where to look because the component code remained the same and only the aiohttp version is different.
Note that screenshot images are not affected.
Expected:
Should stream continuously without issues.
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
No traceback generated.
Additional info:
Then clicked on image to start streaming and it freezes the image after 4 seconds,
however no traceback is displayed.
Downgrading to
aiohttp==1.2
works as expected with any issues.The text was updated successfully, but these errors were encountered: