Wowza Community

MP3 audio only HLS smil file example

Hi everybody,

looking for help how to setup audio only smil files which will allow to stream mp3 audio files.

If I use mp3:sample.mp3/playlist.m3u8 the playout works.

If I use the same sample.mp3 and just wrap it into the following smil:

<?xml version="1.0" encoding="UTF-8"?>

and use this url smil:audiotest.smil/playlist.m3u8

it does not work.

Any idea what I’m doing wrong? Any hints are welcome.

You have two issues with your smil’s src:

  • missing opening quotes
  • missing mp3 qualifier

It should be src=“mp3:sample.mp3”. Without the mp3 qualifier, Wowza media parser considers the file to be mp4 which it isn’t.