The "Stream Reconnect" example up top doesn't work. On disconnecting, when "reconnectStream()" runs, the old NetStream object is gone. I get error "Error #2154: The NetStream Object is invalid. This may be due to a failed NetConnection." I guess when the connection dies, the Flash Player must clean up the old NetStream object or something. It's not there anymore when you go to play the stream again after reconnect.
My bad. Just saw that you can't call NetConnection.close() to simulate. That WILL clean up your NetConnection. Not sure how to simulate this in my app. I'm just playing a video back in the VOD service that comes with FMS.
Is the smart seek functionality available for IOS packaged apps? I've been wrestling with it here but have had no luck. Reconnect happens fine and NetStream begins playing again but from the beginning - not from where the stream was. So with each disconnect the recorded file plays over again. I do indeed have ns.inBufferSeek=true; Is there something I'm misunderstanding about that smart seek mechanism?
Europe, Middle East and Africa