NodeMedia / react-native-nodemediaclient

8 stars 3 forks source link

Is there a list of event codes to use so we can handle error etc? #17

Open soemarko opened 3 months ago

soemarko commented 3 months ago

The only thing I've found is just onEvent={(code, msg) => console.log(code, msg)} which is fine if I know what's each code means?

Also on that note, any way to make typescript happy? Could not find a declaration file for module 'react-native-nodemediaclient'. '/Users/.../node_modules/react-native-nodemediaclient/src/index.jsx' implicitly has an 'any' type. it seems the types are in the source, just not put properly?