We have an app that uses PushKit and CallKit for video calling. These are often emergency calls, so very latency-sensitive.
We keep track of when we sent out the APNs request and when the phone started ringing. The p95 latency is about 2 seconds (mean is ~800ms), which feels quite long..
Is this normal? I'd expect <500ms most of the time given that the devices and servers are all within the US. The users typically have a stable internet connection.
Our requests look like this:
POST https://api.push.apple.com/3/device/<DEVICE_TOKEN>
apns-topic: com.vpt.physician.voip
apns-push-type: voip
apns-priority: 10
apns-expiration: 0
authorization: bearer <APNS_PROVIDER_TOKEN>
content-type: application/json
{
"aps": {
"content-available": 1
},
"title": "Example Text",
"type": "CallFromTablet",
"timeout_ms": 30000
}
If there's any more info I can provide to help troubleshoot this, let me know. Thanks in advance.
2
0
88