开发者

StageVideo not showing live stream video (non-H264)

I'm trying to use Flash's StageVideo object through the example ActionScript file in this page (http://www.adobe.com/devnet/flashplayer/articles/stage_video.html), the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec? and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video, anybody encountered this scenario before?

Someone commented on some other sites to check if the 开发者_JAVA百科"Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream


Believe it or not I had the exact same issue as you and you will hate the solution.

Set the background alpha to 0. Turns out the stagevideo object lives behind the background of the container and has to have a 0 alpha to "show" through

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜