React-native-webrtc call fails for the very first time. (works afterwards perfectly)

Hi I have made a video calling app with react-native-webrtc package. After installing app when I try to make video call during checking phase my call fails for first time. But when I make subsequent calls it works perfectly fine. I thought it was permission issue so I asked all the permission needed for web-rtc before making calls manually. But did not solve the problem. Please help I’m stuck. Thanks.