Reputation: 1
I'm working on an iOS app that pairs callers randomly, like Chatroulette, but it seems that Sinch's iOS SDK requires one person to directly call the other.
What is the best way to generate calls (using Swift and the Sinch iOS SDK) from pairs of users without one being the "caller" and the other having to answer?
Upvotes: 0
Views: 287
Reputation: 2703
Since Sinch doesn't keep a user database, you would just randomize that on your own user repo, and then initiate the call. When it comes to accept calls , on the incomingCall event just answer the call instead of showing an incoming call screen.
Upvotes: 1