python-ring-doorbell
python-ring-doorbell copied to clipboard
[webrtc] Fix SDP answers for strict browsers
Summary
- Adds a simple change to this existing PR: https://github.com/python-ring-doorbell/python-ring-doorbell/pull/491, to make the fix for Chromium browsers in addition to firefox.
- Adds a unit test which validates the removal of extmap direction and the recvonly fix
The existing fix (https://github.com/python-ring-doorbell/python-ring-doorbell/pull/491)
- Attempts to correct Ring SDP answers to be compatible with stricter WebRTC implementations (but targets Firefox only)
- Includes a small PTZ device-kind addition so Pan-Tilt indoor cameras are recognized
Note
- I opened this as draft because I don't have a development setup to test currently. Would appreciate if someone can test this.
More info: https://github.com/home-assistant/core/issues/138821#issuecomment-3622669865