core icon indicating copy to clipboard operation
core copied to clipboard

Ring Live View Issue.

Open checazola opened this issue 2 weeks ago • 49 comments

The problem

Since the lastest update of HA, when trying to use the Live View of the Ring cameras, I encounter this error: Failed to connect WebRTC stream: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Incompatible send direction.

Both Chrome and Edge give me this error. Using the Mobile Chrome app also causes the error. Using the HA android app works fine.

What version of Home Assistant Core has the issue?

2025.12.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Ring

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet


Anything in the logs that might be useful for us?


Additional information

No response

checazola avatar Dec 06 '25 16:12 checazola

The same for me.

Fun fact: This seems to be an android app issue. On my wife's iPhone, the videos are still fine.

Frighty avatar Dec 06 '25 20:12 Frighty

@Frighty

Sorry, my HA-Andriod-App works fine, Ring-App itself also. Running HAOS on my Raspi gave me the same error. So it's not Android related.

Best, Wilm

DL4OCH avatar Dec 06 '25 23:12 DL4OCH

I recently started getting the same. I'm using Brave, in this case.

"Failed to connect WebRTC stream: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Incompatible send direction"

HA Version: 2025.11.3. I updated to 12.1 and it didn't have any effect. I wonder if the Ring itself updated....

Similarly, the app is working, but the PC browser is not

menty666 avatar Dec 07 '25 07:12 menty666

Hey there @sdb9696, mind taking a look at this issue as it has been labeled with an integration (ring) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of ring can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign ring Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


ring documentation ring source (message by IssueLinks)

home-assistant[bot] avatar Dec 07 '25 10:12 home-assistant[bot]

Same here on HA 2025.11.1. Data and entity working fine, live view is down

strloic avatar Dec 07 '25 10:12 strloic

Failed to connect WebRTC stream: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Incompatible send direction

I am getting the same problem with HA versions 2025.11.1 and 2025.12.1 running on Pi with Brave and Firefox PC browsers. LiveView works OK to Android phone client while other device attributes, eg battery state, work OK in PC browser

dhprice avatar Dec 07 '25 15:12 dhprice

The issue stems from a change in the underlying Chromium/WebRTC code.

  • Stricter SDP Validation: Previously, stricter validation for the direction of media streams in the Session Description Protocol (SDP) was primarily limited to browsers like Firefox.

  • New Chromium Behavior: Recent updates to Chromium (including the version used by Chrome 143 and Brave 1.85.111) have introduced similar, more rigorous validation. This ensures that the advertised media stream directions in the SDP offer and answer are compatible and correctly negotiated.

  • The Conflict: The error occurs when the remote answer SDP being generated by the Ring integration contains a directional setting (like sendonly, recvonly, or sendrecv) that the new Chromium validation considers incompatible with the initial offer or the overall session state. This often happens if the SDP is not being correctly modified to align the directions during the answer creation process.

hmchan avatar Dec 07 '25 16:12 hmchan

There is a write-up for this issue, under the following existing issue, including suggestions to fix this issue: https://github.com/home-assistant/core/issues/138821.

This one may be considered a duplicate.

rorygallagher2024 avatar Dec 08 '25 00:12 rorygallagher2024

Same for me. Failed to connect WebRTC stream: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Incompatible send direction

"home_assistant": { "installation_type": "Home Assistant OS", "version": "2025.12.1", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.13.9", "docker": true, "arch": "aarch64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "6.12.47-haos-raspi", "container_arch": "aarch64", "supervisor": "2025.12.2", "host_os": "Home Assistant OS 16.3", "docker_version": "28.3.3", "chassis": "embedded"

russellstrei avatar Dec 08 '25 17:12 russellstrei

same here

philsbits avatar Dec 08 '25 19:12 philsbits

Same here, leaving error if useful:

Failed to connect WebRTC stream: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Incompatible send direction

AshleyRedman avatar Dec 08 '25 19:12 AshleyRedman

I currently just started having this problem, with the same exact error message, right before I did tonights update. I tried removing the integration and reinstalling, nothing. I tried other browsers, nothing. I spent an hour going over the settings to my new Deco mesh network with chatGPT to see if that was the problem and none of chatGPT's solutions fixed it. My ring cameras work in the ring app on my iPhone for some reason though.

Sherman1980 avatar Dec 09 '25 04:12 Sherman1980

Just updated Home assistant core to Installation method: Home Assistant OS Core: 2025.12.2 Supervisor: 2025: 12.2 Operating System: 16.3 Frontend: 20251203.2

issue still there.

philsbits avatar Dec 09 '25 10:12 philsbits

For the benefit of those posting. This is a Ring issue which manifests in the latest versions of Chrome and Firefox. The version of Home assistant is irrelevant.

The summary

  • This affects Firefox and all Chromium-based browsers from v143 onwards.
  • It is caused by Ring’s cloud services returning malformed SDP answers that violate the spec. Newer browser versions (Firefox/Chromium) have stricter validation and are now rejecting responses.
  • Unless Ring fix it on their side (unlikely), then a patch is needed to the integration. There are open PRs to fix, but maintainers may not be active anymore.
  • More info here

rorygallagher2024 avatar Dec 09 '25 11:12 rorygallagher2024

But i also get the error on the Home assistant app on windows 11, not just browser

philsbits avatar Dec 09 '25 11:12 philsbits

But i also get the error on the Home assistant app on windows 11, not just browser

The app is a wrapper for a browser, and in that case one it will be using the Chromium engine under the hood.

rorygallagher2024 avatar Dec 09 '25 11:12 rorygallagher2024

But i also get the error on the Home assistant app on windows 11, not just browser

The app is a wrapper for a browser, and in that case one it will be using the Chromium engine under the hood.

So I get this clear the chromium issue> It still works for me on the ring app, and in chrome off the ring website directly? So it's just the version of chromium in the HA or the ring integration???

Shadoejack avatar Dec 09 '25 13:12 Shadoejack

But i also get the error on the Home assistant app on windows 11, not just browser

The app is a wrapper for a browser, and in that case one it will be using the Chromium engine under the hood.

So I get this clear the chromium issue> It still works for me on the ring app, and in chrome off the ring website directly? So it's just the version of chromium in the HA or the ring integration???

The Ring API returns malformed SDP. The browsers are just strictly validating now, and they are now rejecting it.

The reason the Ring app works is likely because the video is streamed using a different method, or they have their own workarounds to clean up the SDP response when it is returned from their API.

There is technically no bug/issue with the Ring integration. The Ring integration requires a change to workaround the issue by cleaning up the SDP response.

rorygallagher2024 avatar Dec 09 '25 13:12 rorygallagher2024

rorygallagher2024 - thanks for putting in the time and effort to figure this out and explain the problem.

dhprice avatar Dec 09 '25 14:12 dhprice

weird that my brother's "newer"(last few years) computer can view the ring cameras fine, no problem.

Sherman1980 avatar Dec 10 '25 03:12 Sherman1980

weird that my brother's "newer"(last few years) computer can view the ring cameras fine, no problem.

Not all users get updates right away. The rollout is gradual and there are many factors involved: including what client is used, and whether the user is applying updates. It could be anywhere from days to years (or never) before they are affected.

rorygallagher2024 avatar Dec 10 '25 09:12 rorygallagher2024

Same for me on HA OS Core: 2025.12.2 Supervisor: 2025.12.3 Operating System: 16.3 Frontend: 20251203.2

Chrome Browser: Version 143.0.7499.41 (Official Build) (64-bit)

Failed to connect WebRTC stream: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Incompatible send direction

neosmith20 avatar Dec 10 '25 13:12 neosmith20

weird that my brother's "newer"(last few years) computer can view the ring cameras fine, no problem.

That was the case for me with my wife's newer laptop, I forced the update and now it does the same.

checazola avatar Dec 10 '25 14:12 checazola

I haven’t done anything. I just looked and it’s working again, same browser, same everything. Very strange.

philsbits avatar Dec 10 '25 14:12 philsbits

I haven’t done anything. I just looked and it’s working again, same browser, same everything. Very strange.

Strange. Still broken for me. What browser and version is it?

rorygallagher2024 avatar Dec 10 '25 16:12 rorygallagher2024

Using MS edge version  143.0.3650.66 Not working on google chrome which is strange as I thought they were basically the same.

philsbits avatar Dec 10 '25 17:12 philsbits

Using MS edge version  143.0.3650.66 Not working on google chrome which is strange as I thought they were basically the same.

Yes, that's my understanding too. Edge 143 corresponds to Chromium 143 so it should have the webrtc change. It's possible that Edge has overridden the new behaviour but this seems unlikely.

rorygallagher2024 avatar Dec 10 '25 17:12 rorygallagher2024

Using MS edge version  143.0.3650.66 Not working on google chrome which is strange as I thought they were basically the same.

I'm tried with MS Edge 143.0.3650.75, and it's broken for me.

checazola avatar Dec 10 '25 18:12 checazola

But i also get the error on the Home assistant app on windows 11, not just browser

The app is a wrapper for a browser, and in that case one it will be using the Chromium engine under the hood.

So I get this clear the chromium issue> It still works for me on the ring app, and in chrome off the ring website directly? So it's just the version of chromium in the HA or the ring integration???

The Ring API returns malformed SDP. The browsers are just strictly validating now, and they are now rejecting it.

The reason the Ring app works is likely because the video is streamed using a different method, or they have their own workarounds to clean up the SDP response when it is returned from their API.

There is technically no bug/issue with the Ring integration. The Ring integration requires a change to workaround the issue by cleaning up the SDP response.

ty for spelling that out for me, sorry for being extra, new to HA

Shadoejack avatar Dec 10 '25 23:12 Shadoejack

Yes, this is an issue for sure. I was about to get another mesh extender next to my ring door bell. I hope you guys can fix this and yes same error on live view...

Failed to connect WebRTC stream: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Incompatible send direction

FrozenOzone avatar Dec 11 '25 04:12 FrozenOzone