Skip to content

onIceCandidate() never gets called while trying to establish a connection #223

@suyash192

Description

@suyash192

I'm trying to use webrtc-java library to create a webrtc data channel between two peers.

  1. Relevant code
  2. Webrtc Logs

On execution and after calling connect() function of my class I'm observing the following happening:

  1. The offer is generated successfully, set as local description, and sent over to the peer.
  2. Peer answer is received successfully and set as remote description.
  3. onIceCandidate() is never called by webrtc.
  4. onRenegotiationNeeded() gets called instead.

I have set multiple STUN servers yet ICE candidates are never being generated.

Am I doing something wrong here?

Any help would be appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions