Open shaikhTaha97 opened 2 months ago
Hello @shaikhTaha97 Thank you for providing information.
You can change the dialing time interval. This parameter is for how often to notify your opponents of your call. Link to documentation. By default, the opponent notification interval is 5 seconds. You can set the minimum value to 3 seconds.
An example of how to do this is below:
int interval = 3;
try {
await QB.rtcConfig.setDialingTimeInterval(interval);
} on PlatformException catch (e) {
// Some error occurred, look at the exception message for more details
}
I hope this helps solve your issue.
Best regards, Vitalii Dovbnia
Thank you for the response, it did help for some milliseconds, is there any proper handling using callkit? anywhere on the internet? using flutter sdk. i really need this functionality to accept and reject call without opening app using callkit. can you help me a bit?
Hello @shaikhTaha97
Unfortunately, this is currently not possible with our Flutter SDK. To accept or reject a call you need a session, for which you need to open the application and perform the necessary steps like initialising the SDK, and subscribing to the events.
We will look forward to making it more easy in the future.
Best regards, Hitesh
Thank you for the swift response.
Steps happening when i tap answer action of call kit. QB initialize chat re-connect my app modules init add subscriptions to call manager. after adding subscription i receive call after a delay of 2-3 seconds. this whole process takes upto 5-seconds to get call. is there any workaround? when i try to accept call directly from my call manager, it doesn't have session. I don't know whats wrong with it. Please Help!