You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SourceNode.prototype.renderVideo method there's try-catch statement. The catch part is incorrect - the name of the Error may probably vary among browsers - for Safari for instance it is "SecurityError" while you're checking against "SECURITY_ERR". Also, there should definitely be some "else" there - otherwise the error can't be spotted in any way.
To sum up, if you try CORS request in Safari you'll fail but also you won't get any feedback whatsoever.
The text was updated successfully, but these errors were encountered:
Thanks for reporting, Andrzej. Good catch. I'll check the error code instead of name, which is the same in Safari. (We already do this in the checkSource utility.)
In SourceNode.prototype.renderVideo method there's try-catch statement. The catch part is incorrect - the name of the Error may probably vary among browsers - for Safari for instance it is "SecurityError" while you're checking against "SECURITY_ERR". Also, there should definitely be some "else" there - otherwise the error can't be spotted in any way.
To sum up, if you try CORS request in Safari you'll fail but also you won't get any feedback whatsoever.
The text was updated successfully, but these errors were encountered: