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

Erik de Bruin commented on FLEX-34642:
--------------------------------------

This fix applies to the use of StageVideo only. So try it without setting 
'OSMFSettings.enableStageVideo = false;' (or: set 
'OSMFSettings.enableStageVideo = true;').

StageVideo is not so much a component you use directly in your application, 
more an object provided by the Flash Player that a video controller - like 
VideoDisplay - can use to display the contents of a video stream (instead of a 
'regular' Video object).

> Playing recorded video from Wowza in a Spark VideoDisplay shows black screen 
> but plays sound only
> -------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34642
>                 URL: https://issues.apache.org/jira/browse/FLEX-34642
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark Components
>    Affects Versions: Apache Flex 4.13.0, Apache Flex 4.12.1
>         Environment: iMac (20-inch, Early 2009), 2.66 GHz Intel Core 2 Duo, 4 
> GB 1067 MHz DDR3, NVIDIA GeForce 9400 256 MB.
> Mac OS Yosemete, Flash Builder 4.6, AIR 14.0 / 15.0, (iOS project)
>            Reporter: Amir Guterman
>              Labels: stream, video, videodisplay
>             Fix For: Apache Flex 4.10.0
>
>         Attachments: ApplicationStageVideoEnableSkin.mxml
>
>
> When trying to play a stream of recorded video file using Wowza 3.6.3, 
> displayed in a Spark VideoDisplay component, the video is being played, can 
> hear sound, but no picture only black screen.
> This bug happens only on version 4.12.0 and after.
> The bug doesn't happen on version 4.10.0 and before.
> code for reproducing the bug:
> ---------------------------------------
> var videoSource:DynamicStreamingVideoSource = new 
> DynamicStreamingVideoSource();
> var videoStream:Vector.<DynamicStreamingVideoItem> = new 
> Vector.<DynamicStreamingVideoItem>();
> var videoItem:DynamicStreamingVideoItem = new DynamicStreamingVideoItem();
> videoSource.host = "rtmp://0.0.0.0/vod";
> videoSource.streamType = StreamType.RECORDED;
> videoItem.streamName = "mp4:sample.mp4";
> videoStream.push(videoItem);
> videoItem.bitrate=128000;
> videoSource.streamItems = videoStream;
> vidPlayer.source = null;
> vidPlayer.source = videoSource;
> <s:VideoDisplay id="vidPlayer" autoPlay="true" />



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to