Currently I am using twilio video for video calls from mobile to mobile. I am using FCM push notifications to start calls. Is there a better way using a real-time way to handle calls between devices. Just looking for better reliability since push notifications can be inconsistent.
Not exactly sure how real-time would work with app in background/closed when starting calls.
CodePudding user response:
I think make it a background service so that it runs unless the user terminates the app
CodePudding user response:
Twilio developer evangelist here.
On iOS you can use CallKit to create push notifications that behave like an incoming call. The Twilio Video iOS Quickstarts repo has an example Twilio Video CallKit application you can look into.
I'm afraid I don't know of a better way to do this with Android though.