Hero OSMF 1.0 Integration - Functional and Design SpecificationHero OSMF 1.0 Integration - Functional and Design Specification | Glossary | Summary and Background | Usage Scenarios | API Description | B Features | Examples and Usage | Compiler Work | Backwards Compatibility | Accessibility | Performance | Globalization | Localization | Cross-Platform Considerations | Issues and Recommendations
GlossaryHTTP Streaming: http://www.adobe.com/products/httpdynamicstreaming/ Summary and BackgroundFor Flex Hero, we will upgrade to OSMF 1.0. In addition to the general upgrade work, we will also provide support for HTTP Streaming. Usage ScenariosKen has set up his server to support HTTP Streaming and has created some on-demand assets. To view a dynamic stream using the Spark VideoPlayer component he sets the component's source property to the URL of the HTTP stream. NOTE:HTTP Streaming is only supported when used with the VideoDisplay source property or the VideoPlayer source property. It is not designed to be used with the DynamicStreamingVideoSource or the DynamicStreamingVideoItem classes. API DescriptionNo API changes. B Features
Examples and UsageTo take advantage of the HTTP Streaming support just set the URL of the content in the source property as you would for any other content. <?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600">
<s:VideoPlayer
source="http://mediapm.edgesuite.net/osmf/content/test/manifest-files/dynamic_Streaming.f4m"
autoPlay="false"/>
</s:Application>
Compiler WorkNone. Backwards CompatibilityNo Issues. AccessibilityNo Issues. PerformanceNo Issues. GlobalizationNo Issues. LocalizationNo Issues. Compiler FeaturesNone. Framework FeaturesNone. Cross-Platform ConsiderationsNot applicable. Issues and RecommendationsNone. |
|
| You must be logged in to comment. |
|---|

Comments (4)
Aug 27, 2010
Abey George says:
Good to hear that OSMF1.0 will now be integrated. Will this work include resolvi...Good to hear that OSMF1.0 will now be integrated. Will this work include resolving the incompatibility (details below) with the OSMF lib and the automation libs bundled with Flex 4?
Issue:
There seems to an issue when trying to compile in the automation libraries
into a Flex 4.1 app that also includes the OSMF1.0 swc.
I get the compiler error:
"Description Resource Path Location Type
1046: Type was not found or was not a compile-time constant:
DimensionEvent. Test Unknown Flex Problem
The app is essentially a basic empty mxml application, with the OSMF 1.0 swc
added to the build path-libraries and the following mxmlc arguments:
-include-libraries $
/libs/automation/automation.swc
$
/libs/automation/automation_dmv.swc
$
/libs/automation/automation_agent.swc
$
/libs/automation/automation_spark.swc
Aug 27, 2010
Peter deHaan says:
@Abey George, Good question! Do you mind testing this out in the latest public ...@Abey George,
Good question! Do you mind testing this out in the latest public Hero build from http://bit.ly/flexHero and let us know ( http://bugs.adobe.com/flex/ ) if you're still seeing the issue?
Thanks,
Peter
Aug 27, 2010
Abey George says:
Did a quick test and it seem to have been fixed. No compile errors. Will test in...Did a quick test and it seem to have been fixed. No compile errors. Will test in detail on my main app next. What version of OSMF is included in the package at http://bit.ly/flexHero? Is it version 1.0 ?
Oct 01, 2010
stef stef says:
I've just tested it with AIR 2.5 and packaged it for Android. Works, but I've go...I've just tested it with AIR 2.5 and packaged it for Android. Works, but I've got lots of artifacts on all videos I've tested (the device is an HTC Desire). Audio is working fine though, but visually it looks like a ASCII matrix effect (pretty cool if it would have been made on purpose^^)