core: Streams broken in 2021.8.2

The problem

RTSP-Streams are not working anymore.

What is version of Home Assistant Core has the issue?

2021.8.2

What was the last working version of Home Assistant Core?

2021.7.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

stream

Link to integration documentation on our website

https://www.home-assistant.io/integrations/stream

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.stream.worker
Source: components/stream/worker.py:323 
Integration: Stream (documentation, issues) 
First occurred: 18:32:50 (4 occurrences) 
Last logged: 18:41:29

Error opening stream -rtsp_transport tcp -i rtsp://****:****@192.168.2.151:8554/unicast
Error opening stream -rtsp_transport tcp -i rtsp://****:****@192.168.2.157:8554/unicast

Additional information

2021-08-06 18:51:13 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream -rtsp_transport tcp -i rtsp://:@192.168.2.157:8554/unicast

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

@uvjustin Thanks and apologies for polluting this issue I thought it was related. Investigating with your suggestion, I actually found my stream_source had an incomplete url and authentication was off, so I have corrected both and now reinstated stream: and all is now well. Not sure why it worked sans stream: probably just used the stills. Anyway thanks and once again apologies for muddling issues.

@uvjustin:

Have you changed your configuration.yaml between 2021.7.4 and 2021.8.2?

Yes, I did. 2021.7.4: ffmpeg: and NO default_config: then update to 2021.8.2: ffmpeg: AND default_config: -> doesn’t work ffmpeg: NO default_config: -> works

So I think I still need to clean up my configuration.yaml as to either use a default configuration via default_config: or my custom clutter I have generated over the years (!).

Summary: generic camera does take stream_source/options differently from ffmpeg. When switching from either to the other, review the stream_source or options.