RTSP/RTP Streaming from mounted AWS S3

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.

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

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:

    rtsp://[wowza-adress]:1935/vods3/_definst_/mp4:amazons3/[bucket-name]/sample.mp4
    
  • 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

    Charlie

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)

Charlie

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

Richard

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!

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:

    rtsp://[wowza-adress]:1935/vods3/_definst_/mp4:amazons3/[bucket-name]/sample.mp4
    
  • 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

    Charlie

    Now players play the stream but only the sound that plays not the image. What happened?

Android plays the stream nicely. Thank you :slight_smile: