OBS RTMP to Web player
Perhaps you've already discovered a solution, but you need a server that accepts the RTMP stream, and outputs an HLS video stream.  You can then use one of many JavaScript players (like video.js) to show your video on the web.
Companies like api.video will transcode the video, and give you a &quot;web ready&quot; player that you can just drop onto your webpage.