AboFayad
(Abo Fayad)
June 25, 2022, 2:44pm
1
In one of my apps I need to use WebRTC in backend (nodejs) as a server, and iOS as client, using the SFU topology, if anyone can please tell me the steps to do so using the native library or even using mediasoup
Note that I tried this sample (GitHub - ethand91/mediasoup-ios-client-sample: Sample iOS mediasoup client sample )
But I the app crashed
zaidiqbal
(Zaid Iqbal)
June 25, 2022, 3:15pm
2
This topic here mentions an open source client for ios you can try that:
Hi!
We build a communication platform (server + Web / iOS / Android client apps) based on Mediasoup. While application itself is proprietary, we’ve been using open-source solutions extensively. Regarding iOS client, our first versions were built around @ethand91 ’s libmediasoupclient wrapper . Although there were some issues, it was a good starting point. We’ve managed to fix several bugs that seemed most critical for our application and added couple of features we’ve missed:
fixed some crashe…
Apart from that I have mentioned some things here in my topic as well:
Apart from react-native, currently there is no reliable native mediasoup client for android/ios.
These third party clients are available for android/ios but they seem to be abandoned:
Some of the issues of above third party clients are mentioned here:
The choices we are left with are:
Use react native
Create our own bindings of libmedisoupclient in android/ios as mentioned here:
Android native client support
React native is not always a way to go to make the native applications, somet…
In short you have 3 options:
Use any of the open source clients available which are a few.
Use react-native instead, you can use official js client library in react-native.
Create your own client library by using c++ client libmediasoupclient in android/ios using some bindings I guess.