11

Is there a way to integrate SIP.js (both audio and video calling are needed) with React Native? Importing the library itself is easy enough, but the issues I'm running into are:

  • WebRTC support: instead of using the browser's WebRTC functionality (which isn't present in a react native app), I included react-native-webrtc, and modified SIP.js source code to use those. I got past WebRTC support errors, but I don't know if it actually works, because of the following issue.
  • Attaching media: SIP.js expects to attach the call audio and video to <audio> and <video> elements in the browser (https://sipjs.com/guides/attach-media). Is there an existing implementation of a bridge or similar solution to use react native components with SIP.js call media?
7
  • Have you find a solution. I am facing a similar problem? Commented Apr 4, 2019 at 7:59
  • 1
    @Shubham1164 Unfortunately not. I'm currently using this React Native PJSIP module, but it is far from perfect: github.com/datso/react-native-pjsip. Commented Apr 5, 2019 at 16:41
  • According to this thread ( groups.google.com/d/msg/sip_js/ZUP0FEZpz44/O8UoLAMtAgAJ ), a custom SIP.js session description handler would need to be created for React Native. Commented Apr 5, 2019 at 16:42
  • Did you find any solution yet? I have also made a webphone in jssip library and now looking for android and ios app to use jssip or sip.js . If you have any success, please respond. Commented Aug 31, 2019 at 15:58
  • @Anup_Tripathi Unfortunately not. If mobile web is an option for you, then according to the SIP.js FAQ, SIP.js does support the latest version of Safari on iOS and Chrome on Android. sipjs.com/faq Commented Aug 31, 2019 at 19:44

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.