flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SteveJC (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35398) Spark VideoDisplay error
Date Tue, 19 Feb 2019 00:44:00 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771452#comment-16771452

SteveJC commented on FLEX-35398:

Alex, it worked!. I appreciate the help! Thanks a lot!

> Spark VideoDisplay error
> ------------------------
>                 Key: FLEX-35398
>                 URL: https://issues.apache.org/jira/browse/FLEX-35398
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: VideoPlayer
>    Affects Versions: Apache Flex 4.16.1
>            Reporter: SteveJC
>            Priority: Major
> 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:
> {code:java}
> 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]{code}
> 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?

This message was sent by Atlassian JIRA

View raw message