6

We have stored audio sources in WOWZA server.We are searching a audio player to play audio in Web Browser over RTMP or HTTP(HLS).

We have tested HTML5 audio tag, but it does not support RTMP and HLS streaming.

Tried :

<audio controls autoplay>
<source src="http://host-name/path/playlist.m3u8" type="audio/mpegurl">
Your browser does not support the audio element.
</audio>

Questions :

WHat about Jplayer,JWplayer and flowplayer?

Please let me know appropriate audio player for this or there is any solution in HTML5 ?

Debug Diva
  • 26,058
  • 13
  • 70
  • 123

3 Answers3

1

Only Safari 6.0+ has native HLS support.

JWplayer has HLS audio-only support:

JWPlayer - Audio Demo

The open-source mediaelement.js also supports HLS to a degree.

aergistal
  • 29,947
  • 5
  • 70
  • 92
  • Thanks..!!..Can u please tell me what is the best alternative way to run hls on all mobile and desktop browsers..? – Debug Diva Mar 25 '15 at 04:26
  • HLS is supported on newer versions of Android, although 4.4.3 and 4.4.3 still have some issues especially with live streams. I think the best way is to have a different stream for each device type. In Wowza you can activate a second RTSP output for older mobile devices but you'll need to make the decision regarding what stream to send to each client based on the detected capabilities of the connected device (generally by checking the User-Agent). – aergistal Mar 25 '15 at 09:08
  • Thanks for your support..!!..`"different stream for each device type"` means we have to use physical streaming files instead of hls ? – Debug Diva Mar 25 '15 at 10:26
  • Wowza supports live-streaming using different protocols, you just need to configure the "Playback types" on your live application. See [Understanding streaming protocols and output file formats](http://www.wowza.com/forums/content.php?621-Understanding-streaming-protocols-and-output-file-formats#rtspstreaming) and [How to set up live streaming using an RTSP/RTP-based encoder](http://www.wowza.com/forums/content.php?354-How-to-set-up-live-streaming-using-an-RTSP-RTP-based-encoder) – aergistal Mar 25 '15 at 10:46
  • I totally agree with you..but my question is how can we run `rtsp` or `hls` on `html5 audio player` ?..we already run `rtsp` in low handset phones that is played on the native player of phone. How can we stream audio in html5 player ? – Debug Diva Mar 26 '15 at 18:03
1

There is one more option - Flowplayer Version 6.0: Cross-browser HLS. But the catch is, it's only free if you use the GitHub hosted version (which displays the Flowplayer logo and branding). Otherwise you'll need to pay for it:

https://flowplayer.org/pricing/player.html#compare

Wil
  • 4,887
  • 3
  • 22
  • 30
Kamen Bl.
  • 11
  • 2
0

At the time of writing (March 2018) options include Clappr (https://github.com/clappr/clappr, see supported formats) and MediaElement.js (https://github.com/mediaelement/mediaelement) -- both have cross-browser HLS support built-in care of the hls.js project and both players are free and open source.

For alternative players that may or may not require plugins to play HLS, see https://github.com/video-dev/hls.js#player-integration.

davidjb
  • 8,247
  • 3
  • 32
  • 42