felipecrs / hass-expose-camera-stream-source

Allows to import Home Assistant cameras into go2rtc and Frigate
MIT License
100 stars 4 forks source link

Camera not loading #13

Closed reesion closed 1 year ago

reesion commented 1 year ago

Hi,

I have this setup with multiple cameras and one of my camera is not loading and showing error - "mse: streams: exit status 22".

Any idea what that means?

Thanks

felipecrs commented 1 year ago

Are you able to view your camera from within Home Assistant itself (without go2rtc or this integration)?

reesion commented 1 year ago

Yes it works without any integration.

felipecrs commented 1 year ago

Are we talking about a Tuya camera?

reesion commented 1 year ago

Nope. It is one of the Google Nest cameras

felipecrs commented 1 year ago

I believe your camera is not RTSP-based, but WebRTC-based. In this case, try importing in go2rtc directly using hass source.

https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-hass

If that's not your case, please show me how the camera stream URL looks like. Running this command in Terminal add-on should yield it:

bash /config/custom_components/expose_camera_stream_source/get_stream.sh camera.my_camera_entity_name
reesion commented 1 year ago

https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-hass

That's it. That fixed it. You're a legend!

Thank you so much!