Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
libnice
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 27
    • Issues 27
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • libnice
  • libnice
  • Issues
  • #50

Closed
Open
Opened Oct 30, 2018 by pgmail@pgmail
  • Report abuse
  • New issue
Report abuse New issue

Problem connecting to Chrome javascript

I am writing an RTP relay and am stumbling upon a problem.

Based on the threaded example I have written the part of the software that uses a STUN server to connect to a javascript running in chrome.

Basically this is what happens on my software side:

waiting for state READY or FAILED signal...SIGNAL: state changed 1 1
connected[3]
State is now connected
SIGNAL: state changed 1 1 ready[4]
State is now ready

so cleary libnice is firing my callback stating that the connection is firmly established

wireshark is showing binding indication packet

but and that is the stumper

Here is the log from chrome in webrtc internals:

Time    Event
29/10/2018, 19:59:11    setRemoteDescription
29/10/2018, 19:59:11    signalingstatechange
29/10/2018, 19:59:11    receiverAdded
29/10/2018, 19:59:11    setRemoteDescriptionOnSuccess
29/10/2018, 19:59:11    createAnswer
29/10/2018, 19:59:11    createAnswerOnSuccess
29/10/2018, 19:59:11    setLocalDescription
29/10/2018, 19:59:11    iceconnectionstatechange
29/10/2018, 19:59:11    signalingstatechange
29/10/2018, 19:59:11    setLocalDescriptionOnSuccess
29/10/2018, 19:59:11    icegatheringstatechange
29/10/2018, 19:59:11    icecandidate (host)
29/10/2018, 19:59:11    icegatheringstatechange

the iceconnectionstatechange with the firm connection is never fired. which means that chrome never detected the estblished connection after the last trickle whereas my program does.

The last iceconnectionstatechange fired in chrome is "checking"

how do i go about debugging that ???

Any help truly appreciated

Thanks

/Patrick

Edited Nov 16, 2018 by Olivier Crête
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
2
Labels
Interop Need Info
Assign labels
  • View project labels
Reference: libnice/libnice#50