Cast onvif/rtsp IP camera to Google Home Hub

Hi.

I recently got a Google home display hub. Was hoping to be able to use it as a baby cam monitor. My baby camera is going to be a dahua IPC-HDW5231R-ZE 2mp starlight camera.

The Google home display hub supports casting, so I was wanting to create a script/automation that casts the camera stream to the hub. Has anyone else tried this before?

Some information here: