sip - Receive call if application is not running (Viber like calling feature) -
i need implement voip calling feature whatsapp/viber/skype. after login, if quit application. can still receive audio/video calls friends/contacts.
i using portsip
sdk voip implementations.
please suggest way of getting thing done.
thanks
you can use pushkit type voip push notification achieve this.
even if app force stopped it'll launched on arrival of pushkit voip pushnotifcation.
here of advantages
the device woken when voip pushes occur, saving energy. unlike standard push notifications, user must respond before app can perform action, voip pushes go straight app processing.
voip pushes considered high-priority notifications , delivered without delay.
voip pushes can include more data provided standard push notifications.
your app automatically relaunched if it’s not running when voip push received.
your app given runtime process push, if app operating in background.
this type of notification can carry upto 4096 bytes
Comments
Post a Comment