适用于VOIP iOS应用的PushKit [英] PushKit for VOIP iOS apps

查看:263
本文介绍了适用于VOIP iOS应用的PushKit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许这是一个微不足道的问题,但是当在VoIP iOS应用中应用PushKit框架时,服务器端是否受到影响尚不清楚.

Maybe this is a trivial question, however it is not yet clear to me if the server side is impacted when PushKit frameworks will be applied in a VoIP iOS app.

例如,SIP服务器将INVITE发送到我的应用程序,该应用程序中收到了通知,并建立了呼叫.

The SIP server for example sends an INVITE to my app, the notification is received in the app and the call is established.

使用PushKit.framework时服务器受到影响吗?谁发送了pushkit事件? SIP服务器还是Apple?这与APNS相似吗?

Is the server impacted when PushKit.framework is used? Who is sending the pushkit event? The SIP server or Apple? Is this similar to APNS?

推荐答案

就服务器而言,它与APNS完全一样.它只是为客户端(iOS应用程序)带来了更多好处.

It is exactly like APNS as far as the server is concerned. It just comes with added benefits for the client (the iOS app).

客户端在Apple服务器上注册并获得令牌.该应用程序将令牌注册到您的服务器.您的SIP服务器可以使用令牌发送带有适当负载的通知.将其发送到APNS,然后将其转发到设备.

The client registers with the Apple servers and gets a token in return. The app registers the token with your server. Your SIP server can use the token to send the notification with the appropriate payload. That is sent to APNS which then forwards it to the device.

这篇关于适用于VOIP iOS应用的PushKit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆