The way I am doing is to have timer which monitors bytesLoaded and bytesTotal of NetStream. You can get the reference of NetStream via NetLoadedContext.
var loadable:ILoadable = mediaPlayer.source.getTrait(MediaTraitType.LOADABLE ) as ILoadable; var context:NetLoadedContext = NetLoadedContext(loadable.loadedContext); stream = context.stream;
I am still figuring out the right way of doing it. Perhaps, by writing some trait.