mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 21:36:31 +00:00
Add blog about camera deprecations (#2473)
* Add blog about camera deprecations * Tweaks * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Change title * Add link * Update blog/2024-11-26-camera-deprecations.md Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * fix link * Update blog/2024-11-26-camera-deprecations.md Co-authored-by: Martin Hjelmare <marhje52@gmail.com> --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
b2914fe212
commit
a2230fe325
17
blog/2024-11-26-camera-deprecations.md
Normal file
17
blog/2024-11-26-camera-deprecations.md
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
author: Robert Resch
|
||||
authorURL: https://github.com/edenhaus
|
||||
authorImageURL: https://avatars.githubusercontent.com/u/26537646?s=96&v=4
|
||||
title: "Camera API changes"
|
||||
---
|
||||
|
||||
With Home Assistant `2024.11` we added WebRTC for most cameras. To add support for it we needed to refactor and improve the camera entity.
|
||||
Today we would like to announce that with the upcoming Home Assistant release `2024.12` the following methods are deprecated and will be removed with Home Assistant version `2025.6`:
|
||||
|
||||
- The property `frontend_stream_type` will be removed. As of `2024.11` Home assistant will identify the frontend stream type by checking if the camera entity implements the native WebRTC methods ([#130932](https://github.com/home-assistant/core/pull/130932)). Card developers can use the new websocket command `camera/capabilities` to get the frontend stream types.
|
||||
|
||||
- The method `async_handle_web_rtc_offer` will be removed. Please use `async_handle_async_webrtc_offer` and the async WebRTC signaling approach ([#131285](https://github.com/home-assistant/core/pull/131285)).
|
||||
|
||||
- The method `async_register_rtsp_to_web_rtc_provider` has been deprecated. Please use `async_register_webrtc_provider`, which offers more flexibility and supports the async WebRTC signaling approach ([#131462](https://github.com/home-assistant/core/pull/131462)).
|
||||
|
||||
More information about the replacements can be found in the [camera entity documentation](/docs/core/entity/camera).
|
Loading…
x
Reference in New Issue
Block a user