We are using Loadermax to display MP4 in a digital signage application. Actually it seems that we have a memory or handles leak. The numbers of handle keep growing when we use mp4 file. It grows around 150 handles by hour.
Here is a part of our code:
This variable is global.
public var vidLoader:LoaderMax = new LoaderMax( { name:"vidLoader", autoLoad:true, onComplete:videoLoaded } );
Loadermax using MP4 Windows Handles increase
in Loading (Flash)
Posted
Hi,
We are using Loadermax to display MP4 in a digital signage application. Actually it seems that we have a memory or handles leak. The numbers of handle keep growing when we use mp4 file. It grows around 150 handles by hour.
Here is a part of our code:
This variable is global.
public var vidLoader:LoaderMax = new LoaderMax( { name:"vidLoader", autoLoad:true, onComplete:videoLoaded } );
When we need to load a MP4 file.
vidLoader.append(new VideoLoader(filePath, { name:'media', container:this, width:theWorkSpace.width, height:theWorkSpace.height, scaleMode:"proportionalInside", smoothing:true } ) );
When the file finish:
vidLoader.empty(true, true);
And redo the load when we need to play a new file.
Is someone has an idea if we do something wrong ?
Thanks,
Dan