Overview
Incoming Calls
Stream Video supports building apps that support ringing calls. When a user decides to call another user, that user receives an incoming call.
You can find more details on how to ring users on the following page.
Ringing Options
There are multiple scenarios where an incoming call can be presented. This depends on your app setup, as well as the state your app is in when receiving the call (foreground, background, killed).
In-app Incoming Calls
When the app is in the foreground, you can present an in-app incoming call screen. This screen is shown when a ringing Web Socket event is sent to the app. In this case, you have the possibility to customize the view that is presented. In order to learn how to do that, please check this section.
CallKit Integration
When the app is in the background, you can integrate Apple’s CallKit framework. This integration includes sending a VoIP push notification server-side, which can wake up your app and make your device ring. The incoming call screen in this case is provided by CallKit, and it has limited customization options. To learn more about Stream Video’s integration with CallKit, please check this guide.
Push Notifications
Additionally, you can integrate regular push notifications for ringing. These are less interactive, since there’s no way to accept or reject an incoming call directly. They require a user interaction on the push notification, which allows you to do deeplinking in your app and join the call. To learn more about push notifications, please check the following page.