The crashes are generally caused by modyfying participants map in different threads (native modules thread, main thread and webrtc threads). Now I'm executing everything on the main thread so there shouldn't be any problem. This shouldn't have any big impacts on performance since those operations are quick and without i/o.
Related PR: https://github.com/jellyfish-dev/membrane-webrtc-android/pull/42
The crashes are generally caused by modyfying
participants
map in different threads (native modules thread, main thread and webrtc threads). Now I'm executing everything on the main thread so there shouldn't be any problem. This shouldn't have any big impacts on performance since those operations are quick and without i/o. Related PR: https://github.com/jellyfish-dev/membrane-webrtc-android/pull/42