Re: [flexcoders] VideoDisplay over RTMP - Not possible?

2008-02-01 Thread YOGESH JADHAV
U don't need to start from scrath , i hv once seen such component developed
on net. Google may help.

On Feb 1, 2008 3:59 PM, YOGESH JADHAV <[EMAIL PROTECTED]> wrote:

> 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




-- 


Regards,
Yogesh


Re: [flexcoders] VideoDisplay over RTMP - Not possible?

2008-02-01 Thread YOGESH JADHAV
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


[flexcoders] VideoDisplay over RTMP - Not possible?

2008-02-01 Thread polestar11
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