# Play mp3 file on wowza

**URL:** <https://community.wowza.com/t/play-mp3-file-on-wowza/52575>\
**Category:** Wowza Streaming Engine\
**Created:** [December 28, 2018, 9:47am UTC](https://community.wowza.com/t/play-mp3-file-on-wowza/52575 "2018-12-28T09:47:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iyus\_Dedi\_Putra](https://avatars.discourse-cdn.com/v4/letter/i/cab0a1/32.png) [@Iyus\_Dedi\_Putra](https://community.wowza.com/u/Iyus_Dedi_Putra)\
**Post date:** [December 28, 2018, 9:47am UTC](https://community.wowza.com/t/play-mp3-file-on-wowza/52575/1 "2018-12-28T09:47:33Z")

</div>

Hi all,

i have a problem to play audio ext. in wowza, this is my config to play

```auto
<smil>
        <head/>
        <body>
            <switch>
                <audio src="mp3:mohini.mp3" />
            </switch>
        </body>
    </smil>

```

but when i try to play video ext. it is run smoothly.

```auto
<smil>
        <head/>
        <body>
            <switch>
                <video src="mp4:mohini2.aac" system-bitrate="372023" width="416" height="240" />
            </switch>
        </body>
    </smil>

```

is there something i have to config to play mp3 ext. or there is error on the smil config in audio smil?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [January 4, 2019, 2:45am UTC](https://community.wowza.com/t/play-mp3-file-on-wowza/52575/2 "2019-01-04T02:45:54Z")

</div>

There should be no need to use a SMIL file for audio only unless you are using our Loop until Live module.  
[https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive](https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive)

Playback from your loop until live feed would come from the name of the live source you define via the “loopUntilLiveOutputStreams” property. For example:  
http://[server-address]:1935/live/Stream1/playlist.m3u8

We have an article on how to play back content via Apple HLS directly.  
[https://www.wowza.com/docs/how-to-playback-on-apple-ios-devices-cupertino-apple-hls](https://www.wowza.com/docs/how-to-playback-on-apple-ios-devices-cupertino-apple-hls)

You will need to use a link as follows in your embed code.  
http://[server-address]:1935/vod/mp3:mohini.mp3/playlist.m3u8

We do not support audio in an AAC container. Our server specifications can be found at the link below.  
[https://www.wowza.com/products/streaming-engine/specifications](https://www.wowza.com/products/streaming-engine/specifications)

You will need to put your AAC audio in an MP4 container. Once done you can use this to play it directly.  
http://[server-address]:1935/vod/mp4:mohini.mp4/playlist.m3u8

For best compatibility you should follow the information in the article below to packets both audio/video and audio only streams as TS.  
[https://www.wowza.com/docs/how-to-configure-wowza-server-to-stream-audio-only-apple-hls-using-transport-stream](https://www.wowza.com/docs/how-to-configure-wowza-server-to-stream-audio-only-apple-hls-using-transport-stream)

---

<div class="post-metadata">

**Author:** ![Iyus\_Dedi\_Putra](https://avatars.discourse-cdn.com/v4/letter/i/cab0a1/32.png) [@Iyus\_Dedi\_Putra](https://community.wowza.com/u/Iyus_Dedi_Putra)\
**Post date:** [January 4, 2019, 4:33am UTC](https://community.wowza.com/t/play-mp3-file-on-wowza/52575/3 "2019-01-04T04:33:57Z")

</div>

@Kevin Moore,

Thank you sir, the problem solved now.
