I have an RTSP Wansview IP Camera. Zoneminder connects without issue.
I have it defined in HA (as a direct RTSP source)- and it too shows perfectly.
camera:
- platform: generic
still_image_url: http://xxx:[email protected]/mjpeg/snap.cgi?chn=0
stream_source: rtsp://xxx:[email protected]/live/ch0
name: Front Drive Direct
automation:
- alias: 'Start Camera Driveway - Chromecast Study'
trigger:
platform: state
entity_id: input_boolean.stream_camera_to_chromecast_study
from: 'off'
to: 'on'
action:
- service: media_player.turn_on
entity_id: media_player.chromecast_study
- delay:
seconds: 3
- service: camera.play_stream
data:
entity_id: camera.front_drive_direct
media_player: media_player.chromecast_study
However if I try to Stream it to a Google Hub and/or Chromecast its really hit and miss if it shows.And if it does connect will freeze or dropout .
When casting does HA transcode ? and is the Chromecast connecting to HA locally - or via my external URL (and therefore tromboning through the NAT on my router?)