Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The Media Streaming capabilities provided by DuraCloud allow video and audio files to be streamed over RTMP. This feature in DuraCloud

Table of Contents

Introduction

The DuraCloud application provides a set of services which can be deployed and used for a variety of purposes, primarily to process the content which has been loaded into DuraCloud storage. The following list of services describes how each service is expected to be used and the options available for tailoring the service to your needs.

If you start a service, you will receive an email when it completes processing. For each of the services below, if they are run independently, they will not auto-restart if they fail during processing. If you are made aware of a failed job state, you have the option to redeploy the service. Some services are run automatically by the DuraCloud Executor, and as such their state is managed by the Executor. In particular, these are the Media Streamer and the Bit Integrity Tools services.

Info

Not all services are available in all service plans.

Media Streamer

Description:

The Media Streamer provides streaming capabilities for video and audio files. The service 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.

Configuration Options:

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 belowSource Media Space: The DuraCloud space(s) where the source video and audio files to be streamed are stored. The Media Streamer service attempts to stream all files in the selected space(s).

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.

...

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.

Info

If you add files when the Media Streamer service is already running, they too to a space with streaming turned on, those files will automatically be made available for streaming as well.