Thank you for your inquiry.
s2Member’s sample code uses JW Player for RTMP streaming. You can find information on RMTP streaming via JW Player here:
http://www.longtailvideo.com/support/jw-player/28854/using-rtmp-streaming/
RMTP streams support both MP4 and FLV format videos, and AAC and MP3 audio files.
If you’d like to set up RMTP streaming with Amazon S3 + Cloudfront, I’d recommend checking out this article for information on this:
http://blog.cloudberrylab.com/2009/12/how-to-configure-cloudfront-streaming.html
When you’re using RMTP streaming with s2Member’s JW Player shortcodes, you’ll want to change your player attribute to jwplayer-v6-rtmp-only, as shown in the examples here:
Dashboard -› s2Member® -› Download Options -› JW Player® & RTMP Protocol Examples -› JW Player® (RTMP streaming MP4 only, via s2Member's Amazon® S3/CloudFront integration)
That’s about as far as we can go with this. s2Member provides support for RMTP streaming through JW Player, but as far as setting up your stream, etc., that’s outside of the scope that we can support.
Thank you for your understanding.