Use HA camera stream in other app?

Hi,

is it possible to use HA as a camera “relay”? I’ve a simple camera which has rtsp access, the cam is added as generic camera in HA. I also have a software where I want to display the feed of the camera, but the software only can display http camera URLs (RTSP does not work). Is there any way to access the camera feed from HA outside of HA?

I’ve played around with the chrome developer tools and found the playlist.m3u8 and init.mp4 but nothing I can use.

My current solution is GitHub - datarhei/restreamer: The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server. so I can use the cam in HA and my other application (Octoprint)

Or just use HA’s MotionEye add-on
GitHub - hassio-addons/addon-motioneye: motionEye - Home Assistant Community Add-ons,
It also does camera forwarding