This PR adds support in Home Assistant for Android IP Webcam's RTSP streaming and weighs in at under 20 lines of code. On devices where AAC audio streaming is not supported, like some older devices running KitKat and lower, audio is omitted and a simple H264 stream is used instead. The...
If you use a no-audio camera with the above ffmpeg config, you will see anytime you start the stream the following log entry:09:32:51.973 ERR [rtsp] error="streams: codecs not matched: H264 => ANY" stream=camera.x This PR downgrade the level to debug only when ffmpeg is the sourc...
Apparently, there is an endpoint working for Home Assistant integration to add stream (with names and URLs) on the fly. What is the API endpoint for the same process? I would like to add cameras on the fly like this; name: camera_name source: ffmpeg -i tcp:ip:port -c copy -rtsp_...
2022-12-13 13:10:43.501 ERROR (stream_worker) [homeassistant.components.stream.stream.test_stream] Error from stream worker: Error opening stream (HTTP_UNAUTHORIZED, Server returned 401 Unauthorized (authorization failed)) rtsp://***:***@192.168.1.64:554/Streaming/Channels/101/ Additional informa...
The changes introduce updates to the Camera API in Home Assistant for the upcoming release2024.12. Key modifications include the deprecation of thefrontend_stream_typeproperty and the methodsasync_handle_web_rtc_offerandasync_register_rtsp_to_web_rtc_provider. Developers are encouraged to transition to...
RTSP opens a connection on port 554 and returns a video stream, these are the most common type of cameras. Be aware that RING, SimplySafe, Arlo, Blink etc. don't generally allow direct access to the video streams or still images. Also the low end securtiy DVRs like Swann, NightOwl ...
The hardware acceleration will mostly only help if you need to re-encode the stream. There's currently a bug all the way upstream in pion that is causing the webrtc issue in v2.1. Can you try opening the rtsp stream in something like VLC and see if you still have the same issues?
RTSP clients can then use this URL to play (i.e., receive) the proxy stream. The server can act as a proxy for many 'back-end' streams - not just one. If you enter more than one "rtsp://" URL on the command line, i.e.,live555ProxyServer <url1> <url2> ... <urlN> ...
io.hass.name="Live555 RTSP Proxy Server" \ io.hass.description="Live555 RTSP Proxy Server, helps to do not overload cameras by multiple stream clients" \ io.hass.arch="${BUILD_ARCH}" \ io.hass.type="addon" \ io.hass.version=${BUILD_VERSION} \ maintainer="Alex Savin <alex@smarth...
homeassistant/components/stream/__init__.py Outdated """Return true if rtsp stream raises an HTTPUnauthorizedError error.""" import av # pylint: disable=import-outside-toplevel pyav_options = {"rtsp_flags": "prefer_tcp", "timeout": "5000000"} Contributor allenporter Dec 11, 2024...