This content has been marked as final. Show 4 replies
VideoDisplay and RTMP streams should be working. Some sample code is just something like:
<mx:VideoDisplay source="rtmp://whatever.com/video1.flv"; id="myComponent" width="400" height="400" />
Ok, yes your right - the problem seems to be calling play() too soon after setting the source.
For example this does not work:
I need to wait for the ready event before playing it.
Ok, it is all working with pre-recorded streams (when the flv is saved on the server) but I still cannot get it to connect to a live stream.
I believe that you need to wait for the "ready" event to fire before you begin playing a Video. Please try that.