Re: Strange crashes when using media-element

Hey Peter-

I can confirm that I get the same behavior (with Chrome 21.0.1180.41) - but
it doesn't happen when just playing the file, and when I created a simple
test case playing the file through a MediaElementSourceNode, I don't see
any problems.  Can you try reducing the test case down?  I can only image
it's something to do with your connection code, since the creation is
pretty straightforward (and I looked at that).

On Tue, Jul 17, 2012 at 9:09 AM, Peter van der Noord
<peterdunord@gmail.com>wrote:

> I'm encoutering strange crashes when i showed my creation to some
> colleagues at work. Actually, it crashed on every browser i tested...which
> is strange because i've been working a lot on it the past days, and never
> had a crash once. It appears to be a problem with the retrieval of the mp3
> i imbedded in the media-element, which is strange because the
> audio-tag-player seems to have buffered the whole thing. This is the error
> i get:
>
> Failed to load resource
> http://petervandernoord.nl/patchwork_js/audio/flim.mp3
>
> I have no idea what's going on (maybe the firewall here at work, maybe my
> server is crap), but i get a complete crash of the browser (the 'aw snap!'
> thing), which seems a bit too much for whatever it is that's happening.
>
> I can reproduce it by doing this:
> - go to petervandernoord.nl/patchwork_js/
> - add a mediaelement and a destination + connect
> - (i usually added a analyser to the mediaelement as well, but i doubt
> this has anything to do with it)
> - press play on the player in the bottom
> - do nothing and wait for it to crash. might take a while, but it happened
> here at work *every* time, on different computers and OS (the chrome i'm
> running here now is 20.0.1132.57)
>
> Any idea what happens here?
>
> regards,
> Peter
>

Received on Tuesday, 17 July 2012 19:36:28 UTC