react-native-webrtc-firebase icon indicating copy to clipboard operation
react-native-webrtc-firebase copied to clipboard

Failed to add ICE candidate

Open shashipatil opened this issue 5 years ago • 7 comments
trafficstars

Getting following issues in the build when tried

  1. Failed to add ICE candidate
  2. Failed to set remote answer sdp: called in wrong state: kStable

shashipatil avatar Sep 08 '20 06:09 shashipatil

Can you please add steps to help me reproduce it ?

I remember seeing this issue before, but it was solved by this.

DipanshKhandelwal avatar Sep 08 '20 06:09 DipanshKhandelwal

For me it's happening.

Steps to reproduce

device 1 1)Create room 2) enter into join screen

device 2

  1. Create the same room as created for device 1
  2. enter into call screen
  3. initiate call
  4. receive the call in device 1

On Tue, 8 Sep 2020 at 11:47, Dipansh Khandelwal [email protected] wrote:

Can you please add steps to help me reproduce it ?

I remember seeing this issue before, but it was solved by this https://github.com/DipanshKhandelwal/react-native-webrtc-firebase/commit/6934ad3c2da1f72b02d9f8070c282f8777ed9712

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DipanshKhandelwal/react-native-webrtc-firebase/issues/4#issuecomment-688642514, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAZDYJ77W7LRDX4FTCA27DSEXD6HANCNFSM4Q7PITOA .

shashipatil avatar Sep 08 '20 10:09 shashipatil

Can you try changing the sequence of the steps ?

Device 1

  • Enter the call screen first.
  • Start Call

Device 2

  • Enter join screen
  • Join Call

Try to start call first and then join it.

DipanshKhandelwal avatar Sep 08 '20 10:09 DipanshKhandelwal

Getting same issue and even i am getting Reference error as Can't find variable: calleeCandidatesCollection

On Tue, 8 Sep 2020 at 16:27, Dipansh Khandelwal [email protected] wrote:

Can you try changing the sequence of the steps ?

Device 1

  • Enter the call screen first.
  • Start Call

Device 2

  • Enter join screen
  • Join Call

Try to start call first and then join it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DipanshKhandelwal/react-native-webrtc-firebase/issues/4#issuecomment-688791291, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAZDYKCUQ4FXUGRYUAK3HLSEYE2DANCNFSM4Q7PITOA .

shashipatil avatar Sep 08 '20 11:09 shashipatil

call is initiated but error are coming

On Tue, 8 Sep 2020 at 16:37, shashi patil [email protected] wrote:

Getting same issue and even i am getting Reference error as Can't find variable: calleeCandidatesCollection

On Tue, 8 Sep 2020 at 16:27, Dipansh Khandelwal [email protected] wrote:

Can you try changing the sequence of the steps ?

Device 1

  • Enter the call screen first.
  • Start Call

Device 2

  • Enter join screen
  • Join Call

Try to start call first and then join it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DipanshKhandelwal/react-native-webrtc-firebase/issues/4#issuecomment-688791291, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAZDYKCUQ4FXUGRYUAK3HLSEYE2DANCNFSM4Q7PITOA .

shashipatil avatar Sep 08 '20 11:09 shashipatil

I am sorry, I tested it again to be sure, and it works fine without any of the mentioned issues. You can possibly test:

  • You have updated code.
  • Firebase connection is fine.
  • Firebase Firestore rules allow you to write on the database.

Please share some code snippets or error logs, which can help recognise the issue. And if you can help me reproduce it, that would be better. Thanks.

DipanshKhandelwal avatar Sep 08 '20 11:09 DipanshKhandelwal

I also get this error. 1.Failed to add ICE candidate 2.Failed to set remote answer sdp: called in wrong state: kStable but sometimes call is connected successfully

umairlive490 avatar Jan 20 '21 12:01 umairlive490