Hi Everyone,
I'm trying to use the AudioBridge Plugin to stream audio from an Android Client to a remote Hub. The component to do the same is written in React-Native and primarily uses the following dependencies for the task.
"react": "^16.4.2",
"react-native": "^0.56.0",
"react-native-webrtc": "^1.58.3",
There seems to be no issue attaching the plugin and joining the specified room succeeds as per logs. However, any createOffer() on the plugin handle seems to fail without logging any errors whenever the value of 'audioSend' in the 'media' parameter doesn't evaluate to false. The implementation is based off of the audiobridgetest on github. The full code can be found
here. I'm not sure what exactly causes the createOffer to fail but whenever 'audioSend' evaluates to false (either audio: false or audioSend: false), the createOffer succeeds and I get a response from Janus. I also get a warning 'Possible Unhandled Promise Rejection (id: 0): Error: "i" is read-only' pointing to a position in the delta stack that is near impossible to trace and I'm not sure if it's related to the issue.
Any ideas as to debugging or fixing this would be greatly appreciated.
- Karan