I use flex to develop a android app ,and I use Red5 Server as the Media Server to share video data.
I want the application to play a NetStream from Red5.
var ns:NetStream = new NetStream(nc);
var video:Video = new Video();
video.width = 313;
video.height = 194;
video.attachNetStream(ns);
ns.play("fromPC");
videoDisplay.addChild(video);
VideoDisplay is declared like this:
<s:VideoDisplay x="10" y="10"
width="320" height="193"
id="videoDisplay"/>
Adobe suggests to avoid using <s:VideoDisplay/>
on mobile devices, but I found out it's working with Android 3.X and not in Android 4.X.
So I'd like to know what I can use to play a NetStream
on Android 4.0 and later versions.