Hi,
I'm currently developing a HLS streaming service.
When I disable my wifi (simulate an internet outage), I got an "TypeError: Cannot read property '0' of undefined" error.
Which is nonsense to the users (not even to the developers).
I want to show a custom error message explaining that there's is a connection issue, but there's no way to detect this kind of error.
I know there's "reason" property in "buffer" event, but the "buffer" event never triggered in my case.
Is there a way to handle this?
↧