Conversation
|
|
|
@brg468 - Took a look more at those Ring and Nest reports, looks like it was actually a stricter webRTC SDP validation in Chrome 143+ causing issues with the AWS Kinesis video stream response not being technically valid. I've duplicated the fix from the Ring add-on and validated with Chrome 143. You can try with the updated code, it should work now. Interesting that the cam v2 worked (it's TUTK internally, so no native/local webRTC) and the cam v3/4 did not (those are webRTC in the camera, and might even be using a local connection). @SecKatie - I think this might be ready for another review |
|
@zackcornelius ok I’ll try the updated code in the next couple days, I’m out of town so can’t right now. I have a few other comments from my quick review:
https://developers.home-assistant.io/docs/core/entity/camera/#camera-image
I’ll get a chance to play around with it more in a few days, thanks for your work on this! |
Signed-off-by: Zack Cornelius <[email protected]>
|
Added the device_info property, and removed the is_recording property, should clean those up I haven't implemented a camera_image yet, as it'll need some more integration with the wyzeapy to get the preview URLs. And the recent updates do fix the startup with an offline camera. |
|
Can camera_image just return None for now to avoid the implementation error? |
|
I tried the new code, the I don't know much of anything about WebRTC but just using breakpoints it seems like I'm happy to keep testing but like I said I don't know the best way to troubleshoot besides passing on what I'm seeing. |
Add pending candidates handling for WebRTC sessions. Signed-off-by: Diogo Mendes <[email protected]>
|
Try this one @brg468 zackcornelius#9, working for me ! I hope it helps !! And thanks for initializing this @zackcornelius 🚀 |
Refactor signaling URL handling to undouble percent-escapes while preserving necessary encodings for AWS signature verification. Signed-off-by: Diogo Mendes <[email protected]>
Update motion_detection_enabled property to handle None values gracefully. Signed-off-by: Diogo Mendes <[email protected]>
|
@diogormendes I can confirm that fixes the issue I was having, nice job! Camera feeds now load for all my cams. I added a couple things in your PR as a review if you could take a look please. |
Co-authored-by: Brian Rogers <[email protected]> Signed-off-by: Diogo Mendes <[email protected]>
Co-authored-by: Brian Rogers <[email protected]> Signed-off-by: Diogo Mendes <[email protected]>
Co-authored-by: Brian Rogers <[email protected]> Signed-off-by: Diogo Mendes <[email protected]>
|
@zackcornelius , is this PR still alive ? |
|
Yes, mostly.
I had a death in the family, so time the last few weeks has been hard to
come by. I'll hopefully get a little bit of time to work on this and finish
it up this weekend.
…On Sat, Mar 21, 2026, 04:52 Diogo Mendes ***@***.***> wrote:
*diogormendes* left a comment (SecKatie/ha-wyzeapi#800)
<#800 (comment)>
@zackcornelius <https://github.com/zackcornelius> , is this PR still
alive ?
—
Reply to this email directly, view it on GitHub
<#800?email_source=notifications&email_token=AJHQCS25VUKF2KCO7HECHID4RZQ6JA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJQGI4TOMRYGEY2M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4102972811>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJHQCS3XKGWTRQYFK2FUCCL4RZQ6JAVCNFSM6AAAAACWKN26OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCMBSHE3TEOBRGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
brg468
left a comment
There was a problem hiding this comment.
Small addition to hopefully avoid the blocking call.
|
@zackcornelius while you're cleaning things up can you address some of the formatting issues, like unsorted imports and missing docstrings. That's been on my list of things to do for the other platforms and this will help out with one less to tackle. Thanks! |
Implement buffering for ICE candidates in WebRTC
|
@diogormendes - Since I've merged your PR to my branch, can you sign the CLA? There's a comment at the top of the issue with instructions |
Co-authored-by: Brian Rogers <[email protected]> Signed-off-by: Zack Cornelius <[email protected]>
This adds webRTC stream implementation based off the my.wyze.com/live web implementation
Tested with Wyze v2, v3, and Floodlight pro, but the mechanism appears to be the same (using Kinesis video streams with webRTC) for all wyze web view supported cameras (which is maybe all of them?)
This does use the cloud implementation of streaming, rather than the local tutk interface, but does not require a local streaming server (no go2rtc, etc), as it uses HA's native webRTC implementation.