BelledonneCommunications / linphone-sdk

Mirror for linphone-sdk (https://gitlab.linphone.org/BC/public/linphone-sdk.git)
GNU Affero General Public License v3.0
104 stars 80 forks source link

Delay before starting call (StreamsRunning) #199

Open ehsanmqn opened 2 years ago

ehsanmqn commented 2 years ago

Hello, I developed an Android application using the linphone-sdk. I tried to implement an application similar Linphone Application. Currently, I have a problem with initiating a call using the application. The time needed to start a call takes too long (3 Seconds), while the similar functionality in Linphone Desktop is much less than the application. Inside the application, I move the user to call when receiving the StreamsRuning state. I grabbed some pcaps testing both the situations: 1) Setting up a call from the Linphone mobile application (SDK version 5.0.49) 2) Setting up a call from the Linphone desktop (Linphone desktop 3.12.0) I recognized that the behavior of the Linphone application varies from its desktop application. Following, I append pcaps from both situations.

Linphone-android 4.5.6 (SDK version 5.0.49): Screenshot from 2021-12-15 10-59-52

Linphone desktop (Version 3.12.0): Screenshot from 2021-12-15 10-59-19

Does anyone know how I can solve this problem?

KyronNextLevel commented 2 years ago

Hello @ehsanmqn . I'm not sure to understand your problem. In the captures that you show, the call establishment does not takes 3 seconds.

Please give me some captures related to what you are saying, so I can investigate (I would also need logs from your app and a little bit of context about your installation, like if you are using your own server).

Also, please note that the Linphone-desktop version 3.12 is more than 4 years old... The code as changed a lot since then...

Can you please tell me why do you use such an old version ?

We do provide updated packages on our website.

If we could do some optimizations in the code to improve the call setup time, this would not likely be based on the old application behavior.