Question / Help Direct Streaming to Embedded Player in Web Site

I've been using corporate stream providers to embed video streams so far and have gotten that working.
I've also tested multicast IP streaming on the LAN and have been able to view in VLC.
Now what I want to try is streaming OBS out to the web, and having it play in an embedded player without Youtube/Twitch.
I used to embed my own flash videos and I recently learned how to embed a HTML5 video using static video clips hosted on my server with the following:
<video width="640" height="360" controls>
<source src="A008C013_150615BZ.mp4" type="video/mp4; codecs=avc1.42E01E,mp4a.40.2">

But what I want to do now is take that rtmp stream being output by OBS and feed that to an HTML5 embedded player.
I tried this:
<video width="640" height="360" controls>
<source src="udp://@" type="video/mp4">
But it does not work.
Can someone post some example code on how that's done?
Last edited:
The issue is that rtmp and udp are two different ways of sending the videofeed.
You'd have to set it up in the recording tab, and then output to url.
That said, I am no pro on this, and only know the basics, your milage may vary.