# application.xml question

**URL:** <https://community.wowza.com/t/application-xml-question/38526>\
**Category:** Wowza Streaming Engine\
**Created:** [April 20, 2012, 12:00pm UTC](https://community.wowza.com/t/application-xml-question/38526 "2012-04-20T12:00:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erwin\_Fiten](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@Erwin\_Fiten](https://community.wowza.com/u/Erwin_Fiten)\
**Post date:** [April 20, 2012, 12:00pm UTC](https://community.wowza.com/t/application-xml-question/38526/1 "2012-04-20T12:00:39Z")

</div>

I have a wowza server on amazon, but i’m not sure what to fill in.

I have an S3 storage with videofiles on it.

the path to the files is

s3bucketname/VIDEOLIBRARY/Mp4

the /usr/local/WowzaMediaServer/conf/application.xml

I’m not sure about the storagedir.

In normal installations, for me it is :

```auto
<StorageDir>J:/Matches/VideoLibrary/mp4</StorageDir>

```

but what do I need to put the to point it to the S3 storage?

is this correct ?

```auto
<StorageDir>s3bucketname/VIDEOLIBRARY/Mp4</StorageDir>

```

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 20, 2012, 12:25pm UTC](https://community.wowza.com/t/application-xml-question/38526/2 "2012-04-20T12:25:39Z")

</div>

You need to use MediaCache to stream from S3. If you are using a pre-built Wowza EC2 AMI MediaCache is already installed and configured for use with an application named “vods3”. Otherwise you can install it yourself

[https://www.wowza.com/docs/how-to-scale-video-on-demand-streaming-with-media-cache](https://www.wowza.com/docs/how-to-scale-video-on-demand-streaming-with-media-cache)

For details on using MediaCache and the vods3 application, review the Wowza EC2 Guides, the 2nd group on this page:

[https://www.wowza.com/docs/user-guides](https://www.wowza.com/docs/user-guides)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 20, 2012, 12:51pm UTC](https://community.wowza.com/t/application-xml-question/38526/3 "2012-04-20T12:51:07Z")

</div>

You would use URL in the smooth player:

```auto
http:// ***-** -20-162-208.compute-1.amazonaws.com:1935/vods3/_definst_/mp4:amazons3/videolibraryus/VIDEOLIBRARY/Mp4/9bad8e11-2da7-44ad-9e77-567320f6453c_a.mp4/Manifest

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 20, 2012, 2:21pm UTC](https://community.wowza.com/t/application-xml-question/38526/4 "2012-04-20T14:21:57Z")

</div>

It is located at /home/wowza/conf/MediaCache.xml

Enter the AWS keys near the bottom. Restarting Wowza is necessary.

Richard

---

<div class="post-metadata">

**Author:** ![Erwin\_Fiten](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@Erwin\_Fiten](https://community.wowza.com/u/Erwin_Fiten)\
**Post date:** [April 20, 2012, 1:35pm UTC](https://community.wowza.com/t/application-xml-question/38526/5 "2012-04-20T13:35:03Z")

</div>

I already looked at that part.

We use a silverlight client on our website sto stream the video, I have this working on a 2008 server with wowza also on a 2008 server.

when I use the simplevideostreaming and put :

server : rtmp://\ ***-** -20-162-208.compute-1.amazonaws.com:1935/vods3

and

stream : mp4:amazons3/videolibraryus/VIDEOLIBRARY/Mp4/9bad8e11-2da7-44ad-9e77-567320f6453c\_a.mp4

it works, but now i have to get it working in my silverlight client.

---

<div class="post-metadata">

**Author:** ![Erwin\_Fiten](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@Erwin\_Fiten](https://community.wowza.com/u/Erwin_Fiten)\
**Post date:** [April 20, 2012, 2:38pm UTC](https://community.wowza.com/t/application-xml-question/38526/6 "2012-04-20T14:38:09Z")

</div>

This works good, thanks a lot !

the “public” files work, now i just have to turn authorization on.

Where is the “tuning/MediaCache.xml” located?
