restcomm-android-sdk icon indicating copy to clipboard operation
restcomm-android-sdk copied to clipboard

SDK takes too long to bootstrap

Open atsakiridis opened this issue 6 years ago • 0 comments

Right now each time JainSipClient is opened() we initialize security resources needed to support TLS for signaling. This processing takes roughly 5 seconds which is way too much.

The reason its even more important to have very good startup times right now is that we are slowly getting Push notifications in the game, and it's a awful experience to get notification and then wait that much to get into the App and get your call or message.

We should strive on getting everything up and running in less than a second

Notice that this is a spike to investigate the situation and come up with a plan of attack

Maybe it makes sense to see what webrtc in the native side is using for cert generation and use something similar. Check here and here

atsakiridis avatar Sep 29 '17 08:09 atsakiridis