Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35398

Spark VideoDisplay error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.16.1
    • None
    • Spark: VideoPlayer
    • None

    Description

      App I'm maintaining was originally develop using Adobe Flex 4.6. I have tried compiling it under Apache Flex 4.16.1 and AIR SDK 32.

      Btw I encountered problem with the ant installer but got past it by removing references to the errant "air-check" task. After that, AIR SDK downloads the correct version fine.

      On to the main problem:

      I'm using VideoDisplay (spark) somewhere in my code and it was throwing this error:

      RangeError: Error #2004: One of the parameters is invalid.
       at flash.media::StageVideo/set viewPort()
       at org.osmf.media.videoClasses::VideoSurface/updateView()
       at org.osmf.media.videoClasses::VideoSurface/set x()
       at org.osmf.layout::LayoutRendererBase/layout()
       at org.osmf.layout::LayoutRendererBase/validateNow()
       at org.osmf.containers::MediaContainer/validateNow()
       at spark.components::VideoDisplay/updateDisplayList()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\VideoDisplay.as:1390]
       at mx.core::UIComponent/validateDisplayList()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:9531]
       at mx.managers::LayoutManager/validateDisplayList()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:740]
       at mx.managers::LayoutManager/doPhasedInstantiation()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:823]
       at mx.managers::LayoutManager/doPhasedInstantiationCallback()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1191]

      There seems to be a bug in the OSMF code.

      The workaround I did was to simply switch back to mx:VideoDisplay and lose some features. Also noticed video quality is not as good.

      Is there any other way I can retain spark VideoDisplay?

      Attachments

        Activity

          People

            Unassigned Unassigned
            poweribo SteveJC
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: