question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Explanation of this proposed fix to ICE failures?

See original GitHub issue

I have the same problem, to solve this I’ve change locally simple-peer.js change this self._pc = new (self._wrtc.RTCPeerConnection)(self.config, self.constraints) to this

let my_config = {
    iceTransportPolicy: 'relay',
    ...self.config,
}
self._pc = new (self._wrtc.RTCPeerConnection)(self.config, self.constraints)

problem is in pass only config of servers to RTCPeerConnection


const peer = new SimplePeer({
      iceTransportPolicy: 'relay', // this property will ignore 
      config: {
        iceServers: [...  ]
      }
    });

_Originally posted by @rubender in https://github.com/feross/simple-peer/issues/202#issuecomment-425838919_

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16

github_iconTop GitHub Comments

2reactions
yaniv-finkcommented, Jan 26, 2019

Hi, I opened a project in GitHub which include the basic example for simple peer Plus IceServer, you can see it here: https://github.com/yaniv-fink/WebRTC-All-Examples/

Also, I added a link to live example here. https://www.videospeeddate.com/chat-simple-peer (If you check the live example you might see the problem when connecting using firefox to chrome)

I created a video on youtube which demonstrates the use of simple-peer. https://www.youtube.com/watch?v=JOQlo-D4ElU&feature=youtu.be

I hope you will find the time to see this material I uploaded and give your opinion about the code.

Thank you

0reactions
changewebcommented, Dec 14, 2019

@t-mullen Thank you for your time and quick response. Actually I didn’t have any idea about the concept of _turn endpoints. I’ve found this article How to Build Video Chat with Xirsys, WebRTC, and PubNub which works with this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Global Securities Pricing Service to Pay $8 Million ... - SEC.gov
The SEC's order finds that, due to these failures, ICE Data PRD at times provided clients with prices based on single broker quotes...
Read more >
Chairwoman Waters Calls on the FTC to Conduct Robust ...
“Combined, this merger would make ICE the largest mortgage services company in the housing ecosystem based on market capitalization. If this ...
Read more >
Top 10 most common ICE Validation Errors and How to Fix them
In this article, we talk about what is ICE validation, how to validate your MSI package and how to fix the most common...
Read more >
Form I-9 Inspection - ICE
Notice of Technical or Procedural Failures : Identifies technical or procedural failures found during the inspection of Form(s) I-9 and gives the ...
Read more >
What are ICE Codes and can you fix the issues?
If the errors persist, please request additional assistance through your normal support channel. Resolution. Here are the recommended troubleshooting steps to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found