ijsnow / studiojs

A collection of tools to create your own in browser recording studio.
MIT License
32 stars 26 forks source link

Recorder is not working in safari browser #4

Open dprabu17 opened 5 years ago

dprabu17 commented 5 years ago

Safari browser console it's showing an error "Unhandled Promise Rejection: Not currently recording".

alordiel commented 5 years ago

I had similar issue but in FireFox on Linux. The fix was to check if all my promise-like functions handle the reject case. So I've added .catch(err=>console.log(err)) where I user then(function(){\\somthing}) . Most probably somewhere in your code you have used a promise without adding the catch option, so when there is rejection from the promise the rejection result is not catch, thus unhandled.