react-native-webrtc / react-native-incall-manager

Handling media-routes/sensors/events during a audio/video chat on React Native
ISC License
547 stars 191 forks source link

Suggestion for Readme.md #227

Open wilmxre opened 11 months ago

wilmxre commented 11 months ago

In the documentation for ringBack, shouldn't InCallManager.stop() be added after InCallManager.stopRingback()? So:


InCallManager.start({media: 'audio', ringback: '_BUNDLE_'}); // or _DEFAULT_ or _DTMF_

//when callee answered, you MUST stop ringback explicitly:
InCallManager.stopRingback();
InCallManager.stop(); // suggestion