exactly, VideoDisplay Sucks, use Video Object and add it to panel ( if u
want same looks of videodisplay )

On Feb 1, 2008 3:13 PM, polestar11 <[EMAIL PROTECTED]> wrote:

>   Hi
>
> I've run into a seemingly common problem of setting videoDisplay
> source to an rtmp stream. I get the following exception as soon as the
> video-display's play is triggered:
> ArgumentError: Error #2126: NetConnection object must be connected.
> at flash.net::NetStream/construct()
> at flash.net::NetStream()
> at
>
> VideoPlayerNetStream()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\controls\videoClasses\VideoPlayer.as:2882]
>
> I found the following URL that refers to a race condition:
> http://www.jlacivita.com/2007/11/14/race-conditions-in-flex-videodisplay/
>
> I tried their monkey patch, but was still not able to get around the
> problem. Tracing through the Flex code I found a very interesting
> snippet of code in NCManagerConnectClient.onBWDone which invokes an
> onConnected method passing a net-connection object that is not
> actually connected. This continues to the VideoPlayer.ncConnected
> method which tries to connect the stream on the net-connection object
> that is not actually connected.
>
> Possible Solution: Dont use VideoDisplay for RTMP, build your own?
>
> Cheers
> tracy
>
>  
>



-- 


Regards,
Yogesh

Reply via email to