My video player has a problem performing under bad bandwidth conditions.
When i disconnect from my network halfway through playback this triggers a netstatus event with an info of “NetStream.Buffer.Empty”…
If I reconnect my network, it doesn’t start streaming again…
If I call netStream.resume() that triggers a “NetStream.Unpause.Notify” but the buffer never fills up and the video never plays again.
Seems like once netstream runs out of internet juice and triggers a “NetStream.Buffer.Empty” there is nothing i can do to get playback to resume again.
The only solution I can come up with right now is a separate class to monitor bandwidth and then manually trigger a new netStream.play followed by a netStream.seek to where the old playhead position was… but that sounds really horrible to me. There must be a better solution