# RTSP/RTP Streaming from mounted AWS S3

**URL:** <https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257>\
**Category:** Wowza Streaming Engine\
**Created:** [March 17, 2011, 1:09pm UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257 "2011-03-17T13:09:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seongjoo\_Lee](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@Seongjoo\_Lee](https://community.wowza.com/u/Seongjoo_Lee)\
**Post date:** [March 17, 2011, 1:09pm UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257/1 "2011-03-17T13:09:33Z")

</div>

Hello,

After making changed to Application.xml, RTSP/RTP streaming from /home/wowza/content directory is working.

However, RTSP/RTP streaming from mounted AWS S3 is not working. I confirmed that RTMP streaming from S3 is correctly operating so the S3 is properly mounted.

This is a quite important issue for us so help will be greatly appreciated.

---

<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:** [March 17, 2011, 6:13pm UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257/2 "2011-03-17T18:13:38Z")

</div>

On EC2, you should use the vods3 application to stream from s3.

Are you trying to stream directly from an S3FS mount? That’s not recommended, but if RTMP works then RTSP should work.

If this works in Wowza example SimpleVideoStreaming player:

Server: rtmp://[wowza-address]:1935/vod

Stream: mp4:sample.mp4

This should work:

rtmp://[wowza-address]:1935/vod/_definst_/mp4:sample.mp4

Make sure that /conf/vod/Application.xml /RTP /Authentication /PlayMethod is “none”

Richard

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [March 18, 2011, 3:39am UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257/3 "2011-03-18T03:39:49Z")

</div>

First, it does work. Here is a sample URL from our test server:

rtsp://184.72.239.149:1935/vods3/_definst_/mp4:amazons3/wowzamediacache/sample.mp4

Several possible issues:

- You need to add appInstance to your URL:

- Be sure TCP port 554 is open

- Be sure all UDP ports are open 1-65535

- Be sure in conf/vods3/Application.xml that the RTP/Authentication/PlayMethod is set to **none**

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [March 18, 2011, 4:49am UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257/4 "2011-03-18T04:49:45Z")

</div>

Also, if testing with QuickTime, turn off acceleration:

[https://www.wowza.com/docs/how-to-configure-apple-quicktime-player-for-rtsp-rtp-playback-on-windows](https://www.wowza.com/docs/how-to-configure-apple-quicktime-player-for-rtsp-rtp-playback-on-windows))

Charlie

---

<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:** [March 18, 2011, 12:40pm UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257/5 "2011-03-18T12:40:48Z")

</div>

If you are using VLC to test rtsp output from Wowza, you can look at Tools \> Codec Info too see if there is an audio track and what codec it is. You can compare to what Wowza supports here:

[http://wowza.com/specs.html](http://wowza.com/specs.html)

Richard

---

<div class="post-metadata">

**Author:** ![Seongjoo\_Lee](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@Seongjoo\_Lee](https://community.wowza.com/u/Seongjoo_Lee)\
**Post date:** [March 18, 2011, 2:39pm UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257/6 "2011-03-18T14:39:57Z")

</div>

> On EC2, you should use the vods3 application to stream from s3.
> 
> Are you trying to stream directly from an S3FS mount? That’s not recommended, but if RTMP works then RTSP should work.
> 
> If this works in Wowza example SimpleVideoStreaming player:
> 
> Server: rtmp://[wowza-address]:1935/vod
> 
> Stream: mp4:sample.mp4
> 
> This should work:
> 
> rtmp://[wowza-address]:1935/vod/_definst_/mp4:sample.mp4
> 
> Make sure that /conf/vod/Application.xml /RTP /Authentication /PlayMethod is “none”
> 
> Richard

What works

1. rtmp://[wowza-address]/vod/sample.mp4 (streaming directly from Wowza as RTMP)

2. rtsp://[wowza-address]:1935/vod/mp4:sample.mp4 (streaming directly from Wowza as RTSP)

3. rtmp://[wowza-address]/vods3/mp4:amazons3/[bucket-name]/sample.mp4 (From a S3 bucket)

But somehow RTSP from S3 bucket doesn’t:

rtsp://[wowza-adress]:1935/vods3/mp4:amazons3/[bucket-name]/sample.mp4

After successful above three, I thought the last one would just work but it didn’t. We really need to make it work. Help!

---

<div class="post-metadata">

**Author:** ![Seongjoo\_Lee](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@Seongjoo\_Lee](https://community.wowza.com/u/Seongjoo_Lee)\
**Post date:** [March 18, 2011, 9:33pm UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257/7 "2011-03-18T21:33:36Z")

</div>

> First, it does work. Here is a sample URL from our test server:
> 
> rtsp://184.72.239.149:1935/vods3/_definst_/mp4:amazons3/wowzamediacache/sample.mp4
> 
> Several possible issues:

- You need to add appInstance to your URL:

- Be sure TCP port 554 is open

- Be sure all UDP ports are open 1-65535

- Be sure in conf/vods3/Application.xml that the RTP/Authentication/PlayMethod is set to **none**

---

<div class="post-metadata">

**Author:** ![Seongjoo\_Lee](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@Seongjoo\_Lee](https://community.wowza.com/u/Seongjoo_Lee)\
**Post date:** [March 21, 2011, 4:48pm UTC](https://community.wowza.com/t/rtsp-rtp-streaming-from-mounted-aws-s3/36257/8 "2011-03-21T16:48:44Z")

</div>

Android plays the stream nicely. Thank you 🙂
