# How to play .mp3 file on demand using stream type live ?

**URL:** <https://community.wowza.com/t/how-to-play-mp3-file-on-demand-using-stream-type-live/41350>\
**Category:** Wowza Streaming Engine\
**Created:** [October 17, 2013, 3:59pm UTC](https://community.wowza.com/t/how-to-play-mp3-file-on-demand-using-stream-type-live/41350 "2013-10-17T15:59:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SAGAR\_AHER](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@SAGAR\_AHER](https://community.wowza.com/u/SAGAR_AHER)\
**Post date:** [October 17, 2013, 3:59pm UTC](https://community.wowza.com/t/how-to-play-mp3-file-on-demand-using-stream-type-live/41350/1 "2013-10-17T15:59:39Z")

</div>

hi ,

i have some problem that , i have use mediacacheAddon to stream multiple channel from another server it work successfully and play channel1 and channel2 just like a radio in action .i,e when wowza server started this channels start to play but when i want to play on demand .mp3 file store in ‘content’ folder by using the [[[[[http://[wowza-ip-address]:1935/live/mp3:myfile.mp3/playlist.m3u8 ]]]]] on VLC it does not play on demand

actually i want 2 activity on single application ‘live’

1st activity —\> i want to play stream i,e channel1 and channel2 just like radio effect ,i have use media cache add on for streaming .mp3 file from another server where wowza is not present and finally this activity has successfully done . no issue with them.

2nd activity —\> i have also store .mp3 file on ‘/content’ folder where wowza server running .

i want second activity that is when wowza server running it play 1st activity successfully ,but i want second activity just like audio on demand and start to play .mp3 file from starting phase(i,e audio on demand).

it is possible to play both this activity on same application ,if yes then how .?

THANKS AND REGARDS

SAGAR AHER

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [October 17, 2013, 10:52am UTC](https://community.wowza.com/t/how-to-play-mp3-file-on-demand-using-stream-type-live/41350/2 "2013-10-17T10:52:15Z")

</div>

Hi,

To play a file on demand (starting from the beginning of the file), you will need to create an application setup for on demand streaming.

[How to set of an application for on demand content](https://www.wowza.com/docs/how-to-set-up-video-on-demand-streaming)

If you want a file to start playing at a specific time and when clients connect the stream has already started (like radio) you will need to use the stream scheduler.

[How to use the stream scheduler](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)

You can’t have both a live stream and a on demand stream in the same application.

Jason

---

<div class="post-metadata">

**Author:** ![SAGAR\_AHER](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@SAGAR\_AHER](https://community.wowza.com/u/SAGAR_AHER)\
**Post date:** [October 18, 2013, 10:12am UTC](https://community.wowza.com/t/how-to-play-mp3-file-on-demand-using-stream-type-live/41350/3 "2013-10-18T10:12:41Z")

</div>

thanks, jason
