Skip to main content
shameem_p
Participant
June 24, 2016
Question

mp3 streaming on iphone & ipad (IOS) using HLS VOD through the web

  • June 24, 2016
  • 1 reply
  • 686 views

Hi,

I have some trouble getting mp3 streaming working through HLS VOD. Read on some post that mp3 streaming is not supported on hls and need to convert to AAC or M4A format  which i did.

To stream video on IOS i use this url : http://localhost:8134/hls_vod/video.mp4.m3u8

<video controls class="videoplayer" width="400" height="229" style="background-color: black">

  <source src="http://localhost:8134/hls-vod/video.mp4.m3u8"

  type="application/x-mpegURL">

  This browser does not support the video tag.

</video>

but this does not work for audio: http://localhost:8134/hls_vod/music.m4a.m3u8

<audio id="audioplayer" controls style="background: black">

  <source src="http://localhost:8134/hls_vod/music.m4a.m3u8">

  This browser does not support the audio tag.

</audio>

Can anyone please help.

Thanks,

Shameem

This topic has been closed for replies.

1 reply

Graeme Bull
Community Expert
Community Expert
June 29, 2016

Do you see any errors in the log files? Can you play those files from just a normal HTTP server?

shameem_p
shameem_pAuthor
Participant
July 5, 2016

The issue was with encoding the video from mp3 to m4a. and it has been resolved. Thanks. shameem