Hero OSMF 1.0 Integration - Functional and Design Specification


Glossary

HTTP Streaming: http://www.adobe.com/products/httpdynamicstreaming/

Summary and Background

For 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 Scenarios

Ken 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 Description

No API changes.

B Features

  • Cue points--embedded and actionscript (B+ feature)
  • DVR Support (B feature)
  • Exposing the underlying mediaPlayer object publicly and accepting more OSMF objects directly (B feature)
  • Other new features (needs more investigation/OSMF input)

Examples and Usage

To 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 Work

None.

Backwards Compatibility

No Issues.

Accessibility

No Issues.

Performance

No Issues.

Globalization

No Issues.

Localization

No Issues.

Compiler Features

None.

Framework Features

None.

Cross-Platform Considerations

Not applicable.

Issues and Recommendations

None.


You must be logged in to comment.
  1. 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 $

    Unknown macro: {flexlib}

    /libs/automation/automation.swc
    $

    /libs/automation/automation_dmv.swc
    $

    Unknown macro: {flexlib}

    /libs/automation/automation_agent.swc
    $

    /libs/automation/automation_spark.swc

  2. 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

  3. 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 ?

  4. 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^^)