|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 137
|
Hi there, We are trying to load "big" (2 -> 10 mb) base64 string with POST ajax/Webservice but when the response is >5mb the webview become unresponsive/blank and crash. Those string are .mp3 data and we are using wavesurfer plugin (http://wavesurfer-js.org/ ) to play it. This plugin uses Audio API. On chrome 45 there is no problem the same ajax query go smoothly and the sound plays ok. Is there some POST size limitation in eo browser ? Or audio API buffer limitation ? Best regards UPDATE : You can test it here http://wavesurfer-js.org/ drag and drop a mp3 file. If you drop a file like >5mb the webview will just try to load it and get destroyed. It works on chrome 45. So I believe this is not a matter of receiving a large POST response.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Can you check the version of EO.WebBrowser you are running? We tested it here with the latest build and it seems works fine. When we drop the file the progress bar moves as expected and then loads with the wave picture. Another thing you might want to check is whether you have any third party firewall anti-virus application on your machine that's blocking the request. You can also test on a different machine and see if that works.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 137
|
Hey,
I tryed with the lastest version 15.2.53.0. Did you try to load a big file > 5mb because it works perfectly for little mp3.
I don't have any firewall/anti-virus and I tested on another computer (window 10)
thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We tested it on both Windows 7 and Windows 10 with our TabbedBrowser sample application and both worked fine. Can you test it with our TabbedBrowser sample and see if it works for you?
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 137
|
Hey, thats what I did ! I'll send you my .mp3 file. But every file > 5mb make webview fails for us !
Best regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, We have looked into this issue and posted a new build that should resolve the issue for you. You can download it from our download page. The root of the issue is an out of memroy error occured in the render process (which houses the JavaScript engine). The trigger of the error is not the size of the audio file, but the length of it. The longer it is, the more JavaScript objects the library creates. So when it exceeds a certain size the process will run out of memory and crash. In the new build we have added this property for this problem: http://www.essentialobjects.com/doc/common/large_address_space.aspxYou will need to set this property to true in order to utlize the large address space. Once you enable large adress space, the problem should no longer occur. Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 137
|
Hey,
Thanks you guys, really nice job :)
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
You are very welcome. Please feel free to let us know if there is anything else.
|
|