datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
272 stars 229 forks source link

Endpoint Settings undefined - IOS #115

Closed mdiflorio closed 6 years ago

mdiflorio commented 6 years ago

Endpoint returns settings of undefined on IOS using the example in the documentation. Works correctly on Android.

let endpoint = new Endpoint();
let state = await endpoint.start();
let {accounts, calls, settings, connectivity} = state;

console.log("codecs", settings.codecs); // Shows a list of available codecs with priority