react-native-voximplant icon indicating copy to clipboard operation
react-native-voximplant copied to clipboard

Configure timeout duration for call failures

Open sanjaypojo opened this issue 5 years ago • 3 comments

If a call fails, it takes 30 seconds before a disconnected event is fired. Is there a way to know that the call has failed or configure a shorter timeout duration? Thanks!

sanjaypojo avatar May 28 '19 21:05 sanjaypojo

Hello, @sanjaypojo !

If a call fails, CallEvents.Failed event should be invoked.

Could you please provide more details about the issue (steps to reproduce, sdk version)?

Best regards, Yulia Grigorieva

YuliaGrigorieva avatar May 29 '19 15:05 YuliaGrigorieva

Hi Yulia, we're trying to isolate the issue, but it's hard to reproduce. We have cases where the call never connects but the user waits on the call screen hoping that it connects for many seconds. It then disconnects after 30 seconds. We wanted to know if we can configure a shorter time than 30 seconds. Basically, ClientEvents.IncomingCall successfully occurs, but CallEvents.Connected does not happen. The user is correctly logged in to vox etc.

sanjaypojo avatar May 30 '19 00:05 sanjaypojo

Hello @sanjaypojo ,

Can this issue be related to #74 ?

If you receive several incoming calls with different call IDs, answer to one of them, but wait the CallEvents.Connected event on another, another call will be disconnected in about 30 seconds.

According to my suggestion I recommend to isolate and fix the issue #74 first, as they can be related.

Best regards, Yulia Grigorieva

YuliaGrigorieva avatar May 31 '19 14:05 YuliaGrigorieva