Wowza Community

RTSP video on amazon s3 private

Hello,

I am trying to use amazon s3 vod (private) in a Wowza on EC2.

I am working properly in the transmission of vod streaming is ios http, rtmp, with video on demand from the amazon s3, all perfect.

But I’m not getting access to this same rtsp (for android, galaxy tab) video encoded in mp4, h264/aac.

I’ve left all the released UDP ports, and still no success.

I’m trying:

rtsp://my_ip_wowza_ec2:1935/vods3/definst/mp4:amazons3/slidecasts/f3f2f7a5a86b046e232a3bfc7d76f1c7.mp4

Any idea?

Thanks!

Hi

What do your logs say when you try the connection? and do you connect then disconnect or does it just fail altogether?

there is a trouble shoot guide here,

https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback)

You could possibly have your application.xml configured to not allow access by mistake, so that’s worth checking too.

Jason

Carlos,

Actually, yes, we took a look at this. There will be a fix for this included in the next Wowza 3 patch (not out yet). In the meantime, you should be able to fix this by adding “definst”.

The problem is above the error:

ModuleStreamNameAlias.onAppStop: vods3/mp4:amazons3

Wowza thinks “mp4:amazon…” is an application instance.

It should be:

ModuleStreamNameAlias.onAppStop: vods3/definst/mp4:amazons3

So where you are using that, insert definst

Richard

Actually, if it is right, that line would be:

It should be:

ModuleStreamNameAlias.onAppStop: vods3/definst

Richard

You just have to change /conf/vods3/Application.xml /RTP /Authentication /PlayMethod from “digest” to “none”

Richard

The only thing I found different in the log with RTSP was this:

Look this: If I try to connect via Quicktime, it connects longer asks username and password. Strange …

2011-10-28 00:06:49 EDT comment server INFO 200 - RTSPTunnelingSession.newSessionGET[187.5.87.216|QHgv0V0CAACLWIYCb1iGAg] - - - 21477.669 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 00:06:50 EDT comment server INFO 200 - RTSPTunnelingSession.newSessionPOST[187.5.87.216|QHgv0V0CAACLWIYCb1iGAg] - - - 21478.282 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 00:06:59 EDT comment server INFO 200 - RTSPTunnelingSession.closeSessionPOST[187.5.87.216|QHgv0V0CAACLWIYCb1iGAg]: true - - - 21487.441 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 00:06:59 EDT comment server INFO 200 - RTSPTunnelingSession.closeSessionGET[187.5.87.216|QHgv0V0CAACLWIYCb1iGAg]: true - - - 21487.456 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 00:07:09 EDT comment server INFO 200 - RTSPTunnelingSession.shutdown[187.5.87.216|QHgv0V0CAACLWIYCb1iGAg] - - - 21497.704 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 00:08:00 EDT app-stop application INFO 200 mp4:amazons3 vods3/mp4:amazons3 - - - 21547.896 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 00:08:00 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStop: vods3/mp4:amazons3 - - - 21547.896 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 00:08:00 EDT comment server INFO 200 - Error creating object name javax.management.MalformedObjectNameException: Invalid character ‘:’ in value part of property - - - 21547.896 - - - - - - - - - - - - - - - - - - - - - - - - -

Someone of you has any idea if there is any configuration to use RTSP to use on Amazon EC2 Wowza with videos on demand with amazon s3 in private?

I did this,

and is returning, not authorized (Unauthorized).

I’m trying in quicktime, the following url:

rtsp://184.73.212.162/vods3/definst/mp4:amazons3/slidecasts/f3f2f7a5a86b046e232a3bfc7d76f1c7.mp4

Log:

http://184.73.212.162:1935/vods3/definst/mp4:amazons3/slidecasts/f3f2f7a5a86b046e232a3bfc7d76f1c7.mp4/playlist.m3u8 187.52.88.127 http (cupertino) - Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549 318511538 0 3528411 - 41341 - - amazons3/slidecasts/f3f2f7a5a86b046e232a3bfc7d76f1c7.mp4 - amazons3/slidecasts/f3f2f7a5a86b046e232a3bfc7d76f1c7.mp4 mp4 4441950 55.147 http://184.73.212.162:1935/vods3/definst/mp4:amazons3/slidecasts/f3f2f7a5a86b046e232a3bfc7d76f1c7.mp4/playlist.m3u8 http://184.73.212.162:1935/vods3/definst/mp4:amazons3/slidecasts/f3f2f7a5a86b046e232a3bfc7d76f1c7.mp4/playlist.m3u8 - http://184.73.212.162:1935/vods3/definst/mp4:amazons3/slidecasts/f3f2f7a5a86b046e232a3bfc7d76f1c7.mp4/playlist.m3u8 -

2011-10-28 14:44:25 EDT app-stop application INFO 200 definst vods3/definst - - - 16836.107 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 14:44:25 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStop: vods3/definst - - - 16836.107 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 14:47:24 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStart: aliasMapFileStream: /usr/local/WowzaMediaServer/conf/aliasmap.stream.txt - - - 17014.738 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 14:47:24 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStart: aliasMapFilePlay: /usr/local/WowzaMediaServer/conf/aliasmap.play.txt - - - 17014.74 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 14:47:24 EDT comment server INFO 200 - ServerListenerEC2Variables#ApplicationInstanceNotify.onApplicationInstanceCreate[vods3/definst]: Auto-set application RTSP addresses: internal[bind]:10.114.118.151 external[origin,connection]:184.73.212.162 - - - 17014.74 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 14:47:24 EDT app-start application INFO 200 definst vods3/definst - - - 17014.834 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 14:48:25 EDT app-stop application INFO 200 definst vods3/definst - - - 17076.18 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 14:48:25 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStop: vods3/definst - - - 17076.18 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:28:29 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStart: aliasMapFileStream: /usr/local/WowzaMediaServer/conf/aliasmap.stream.txt - - - 19479.952 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:28:29 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStart: aliasMapFilePlay: /usr/local/WowzaMediaServer/conf/aliasmap.play.txt - - - 19479.952 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:28:29 EDT comment server INFO 200 - ServerListenerEC2Variables#ApplicationInstanceNotify.onApplicationInstanceCreate[vods3/definst]: Auto-set application RTSP addresses: internal[bind]:10.114.118.151 external[origin,connection]:184.73.212.162 - - - 19479.952 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:28:29 EDT app-start application INFO 200 definst vods3/definst - - - 19479.958 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:29:30 EDT app-stop application INFO 200 definst vods3/definst - - - 19540.702 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:29:30 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStop: vods3/definst - - - 19540.703 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:34:45 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStart: aliasMapFileStream: /usr/local/WowzaMediaServer/conf/aliasmap.stream.txt - - - 19855.784 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:34:45 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStart: aliasMapFilePlay: /usr/local/WowzaMediaServer/conf/aliasmap.play.txt - - - 19855.784 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:34:45 EDT comment server INFO 200 - ServerListenerEC2Variables#ApplicationInstanceNotify.onApplicationInstanceCreate[vods3/definst]: Auto-set application RTSP addresses: internal[bind]:10.114.118.151 external[origin,connection]:184.73.212.162 - - - 19855.784 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:34:45 EDT app-start application INFO 200 definst vods3/definst - - - 19855.789 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:35:46 EDT app-stop application INFO 200 definst vods3/definst - - - 19916.733 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-28 15:35:46 EDT comment server INFO 200 - ModuleStreamNameAlias.onAppStop: vods3/definst - - - 19916.734 - - - - - - - - - - - - - - - - - - - - - - - - -

Richard,

THANKS!