
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:
- Flex SDK 4.1 is required. Install Flex SDK 4.1 if necessary:
Download+Flex+4
- Create a new Flex project named "LiveOSMFPlayer". Select SDK 4.1
- In Project > Properties > Flex Compiler:
- Make sure Flex 4.1 SDK is selected
- Change Adobe Flash Player Options to Use Specific Version 10.1.0
- Add the following (in bold) to the Additional Compiler Options textbox -define CONFIG::LOGGING true -define CONFIG::FLASH_10_1 true
- Click Apply
- In Project > Properties, Flex Build Path, in the Library path tab:
-
From the "Framework linkage" dropdown, select "Merged into code"
- In the Build Path Libaries box, expand Flex 4.1 tree. Then select osmf.swc and click remove. (This is an old version of the osmf.swc that will not work. You will not need OSFM.swc at all because the OSMF 1.5 framework is included with this package.)
- Copy the contents of the Package /src folder to the Project /src folder