HaxeVideo neko crashes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

HaxeVideo neko crashes

Michael Pliskin

Hi,

 

I am now experiencing HaxeVideo crashing neko on Windows regularly. To reproduce it, try opening a new NetConnection without closing the previous one. The workaround is to close the current stream and open a new one in a new frame like the code below does:

 

public function start() {

                               if (null != nc) {

                                               doStop();

                                               Timer.delay(doStart, 100);

                               } else doStart();

                }

               

                private function doStart() {

                               nc = new flash.net.NetConnection();

                               nc.addEventListener(flash.events.NetStatusEvent.NET_STATUS,onEvent);

                               nc.connect(host);                          

                }

 

However, it’s probably best for haxevideo do something a bit less radical than crashing..

 

Mike


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: HaxeVideo neko crashes

Thomas-8
What do you mean by crashing? You see an infinite loop?


--
VOD & visioconference - http://www.digiprof.tv

--
haXe - an open source web programming language
http://haxe.org