Play RTMP live stream in HTML5

pablo picture pablo · Aug 13, 2012 · Viewed 14.2k times · Source

I have one user streaming microphone in RTMP from a Flash app. How can I broadcast this stream to other users using HTML5 (no Flash)?

Do browsers support live audio streaming in HTML5? What format do I need to use, mp3, ogg?

Thanks

Answer

Gareth Parker picture Gareth Parker · Aug 13, 2012

HTML5 does NOT support RTMP. They do however support audio playback, using the tag. You need to include mp3 ogg and wav, as no one format is supported by all browsers. However, like I said, HTML5 only supports httpd, not RTMP