Android build crashes when using third party tool

I’m trying to create a livestream app using’s react-native library, see here: React Native live stream

I’m using the example code linked (with minor tweaks as the documentation isn’t quite right). It starts streaming and as soon as I stop streaming it crashes. This happens 99% of the time, but occasionally it works.

I’ve managed to narrow it down (kind of) to a fatal signal 11, see attached bug report and log here Android crashes on .stopStreaming() · Issue #34 · apivideo/ · GitHub. I’m really struggling for ideas at this point so any help much appreciated!

Have you solved it yet?