# LiveOSMFPlayer

## Description

This package contains source code for a Flash player using the OSMF Framework. It will play rtmp single and mulitple bitrate streams, and single and multiple-bitrate Flash Sanjose (http) streams

To use the source code in Flash Builder:

1. Flex SDK 4.5.1 is required. Install Flex SDK 4.5.1 if necessary: Download+Flex+4
2. Download and unzip OSMF 6.1, or later: http://sourceforge.net/projects/osmf.adobe/files/
3. In Flex, create a new Workspace.
4. Make sure that SDK 4.5.1 is installed, and that it is the default SDK.
5. From menu, File > Import > Other Existing Projects into Workspace.
6. Navigate to the unzipped OSMF download. Click Finish to import all projects.
7. Close all projects except OSMF, ChromeLibrary, MediaContainerUI
8. With all 3 above projects selected, in the menu select Project > Properties. Then open the Flex Compiler tab:
   - Make sure Flex 4.5.1 SDK is selected
   - Make sure Adobe Flash Player Options to Use Specific Version 10.2.0
   - Add the following (in bold) to the Additional Compiler Options textbox:
     -locale en_US -define CONFIG::LOGGING true -define CONFIG::PLATFORM true -define CONFIG::MOCK true -define CONFIG::FLASH_10_1 true
   - Click Apply
9. Create a new application named LiveOSMFPlayer.
10. Copy the contents of the Package /src folder to the Project /src folder
12. In Project > Properties, Flex Build Path, in the Library path tab:
    - From the "Framework linkage" dropdown, select "Merged into code"
    - Click “Add Project”, then OSMF, MediaContainerUIComponent and ChromeLibarary