Video On Demand Streaming

Flash HTTP Player


To view this page ensure that Adobe Flash Player version 10.2.0 or greater is installed.

To use the source code in Flash Builder

  1. Adobe Flex SDK 4.5.1 or later is required. If necessary, install Flex SDK: Latest Flex SDK or Flex 4.5 Downloads
  2. Download and unzip Open Source Media Framework (OSMF) 1.6 or later: Latest OSMF
  3. Start Flash Builder, and then select a new workspace location.
  4. Make sure that Flex SDK 4.5.1 or later is the default SDK. You can add or select the SDK under Windows > Preferences > Flash Builder > Installed Flex SDKs.
  5. From the Flash Builder menu, select File > Import > Other Existing Projects into Workspace.
  6. Navigate to the unzipped OSMF download, and then select the samples\ChromeLibrary, samples\MediaContainerUIComponentLibrary, and framework\OSMF projects.
  7. With all of the above projects selected, from the Flash Builder menu, select Project > Properties, and then on the Flex Compiler tab:
    • In Flex SDK version, select the Flex SDK version to use (either the default version or a specific version). The minimum supported version is Flex SDK 4.5.1.
    • In Adobe Flash Player options, specify the Flash Player version to use with the Flex SDK. The minimum version required by Flex SDK 4.6 is 11.1.0. For Flex SDK 4.5.x, it is 10.2.0.
    • In Additional compiler arguments, add the following (in bold):
      -locale en_US -define CONFIG::LOGGING true -define CONFIG::PLATFORM true -define CONFIG::MOCK false -define CONFIG::FLASH_10_1 true
    • Click Apply
  8. Create a new Flex project named FlashHTTPPlayer (File > New > Project > Flex Project).
  9. Copy the contents of the package src folder to the project src folder.
  10. In Project > Properties > Flex Build Path, on the Library Path tab:
    • In the Framework Linkage dropdown menu, select Merged into code
    • Click Add Project, then OSMF, MediaContainerUIComponentLibrary, and ChromeLibrary

Description

This package contains source code for a Flash player using the OSMF Framework. It will play rtmp single and adaptive bitrate streams, and single and adaptive bitrate Flash sanjose (HTTP-only) streams.

Installation

In the /examples/VideoOnDemandStreaming directory:

Instructions

  1. Read the Tutorials below.
  2. Click the Connect button. The video will start playing.

Tutorials

  1. How to play your first video on demand stream (video tutorial)
  2. How to set up video on-demand streaming

Additional Resources

  1. Quick Start Guide
  2. Video On Demand Streaming Discussion Forum
  3. Video On Demand Streaming Articles

To play your own content

  1. Copy your video files to the Wowza [install-dir]\content directory.
  2. In the Stream field, change the mp4 file name to match one of your video files.
  3. Click the Connect button. Your video will start playing.