This documentation space is deprecated. Please make all updates to DuraCloud documentation on the live DuraCloud documentation space.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 36 Next »

Introduction

The Media Streaming capabilities provided by DuraCloud allow video and audio files to be streamed over RTMP. This feature in DuraCloud takes advantage of Amazon Cloudfront streaming, so files to be streamed must be within spaces on an Amazon provider. Amazon Cloudfront streaming uses the Flash Media Server to host streaming files over RTMP. File formats supported include MP3, MP4 and FLV among others. For a full listing of supported file types see the Flash Media Server documentation.

Using Media Streaming

Follow these steps to stream media files with DuraCloud

  1. Create a space in DuraCloud which you will use to host streamed files
  2. Transfer media files to the space. Be sure that the file are using supported formats (see the link above).
  3. Select the space in the DuraCloud interface and click the "ON" button next to "Streaming:" in the top row of buttons.
  4. Wait up to 15 minutes. If this is the first time the space has been streamed, it can take up to 15 minutes for the files to be available on the Amazon edge servers.
  5. Select a media file in the space. A video player will appear in the Content Detail pane. Verify that you are able to play the streamed file.
  6. Look in the space properties for the RTMP streaming address. This is the path you will use for streaming files.
  7. Set up your website or application to provide access to the streamed files. Some example files to get you started are listed below.

Integration Files

The following files are available as a bundle on the downloads page.
They are intended as a starting point for integrating streaming media into your own website.

  • player.swf - The flash-based video player JWPlayer
  • playlist.xml - An example playlist which would include a list of items in your Source Media Space
  • playlistplayer.html - An HTML file which uses JWPlayer to display the items in the playlist
  • singleplayer.html - An HTML file which uses JWPlayer to display a single media file
  • stylish.swf - A supplementary flash file used to style the JWPlayer
  • swfobject.js - A javascript file (available from here) used to embed the JWPlayer on a web page
  • viewer.js - A javascript file used to simplify the loading of JWPlayer

All of the above files are intended as examples only. Their purpose is give developers a starting point for embedding video streamed by DuraCloud on their own web pages.

If you add files to a space with streaming turned on, those files will automatically be made available for streaming as well.

  • No labels