Comments (7)
I've faced similar issues whilst testing on the same network. However, onfailed
event is fired only when, either both ICE-Agent and ICE-server missed to prioritze valid addresses/ports or failed to perform connectivity checks (STUN-binding-requests) or skipped subsequent STUN servers when first URI is down or failed to fire end-of-candidates
gesture.
(Known Bug) Chrome seems taking first STUN-server for ice-trickling, and it skips all others (in the moment). So, XirSys' STUN server (ports 443/80) is skipped in current chrome builds; and hopefully it'll be fixed in M39.
I don't think it is an issue in RTCMultiConnection code, because second try always succeeds for such cases. Remember, getExternalIceServers
must be true, or at least you should be using your own xirsys account.
connection.onfailed = function(event) {
event.peer.getConnectionStats(function(result) {
// read more here, https://cdn.webrtc-experiment.com/getConnectionStats.js
// result.connectionType
// result.audio --- for audio tracks
// result.video ---- for video tracks
});
// use `redial` method
// it is same as: connection.peers[event.userid].redial();
event.peer.redial();
// you can even use `renegotiate`
// event.peer.renegotiate();
};
// or
// connection.autoReDialOnFailure = true;
P.S. Failure in ice-connectivity check isn't the only reason for onfailed
event to be fired, there can be delay in signaling to negotiate offers, and many other factors.
from rtcmulticonnection.
@muaz-khan
Hi Muaz Khan
i am facing similar problem and you are right , it success from second try ,till here i am able to find a solution but after some times some users are disconnected for some reason and the console show error
i think there is a problem in signal server.
from rtcmulticonnection.
@muaz-khan
this issue appear while you are on same network using wfi or on different network
from rtcmulticonnection.
@muaz-khan
onfailed event is not fired also
from rtcmulticonnection.
@muaz-khan
waiting your reply
from rtcmulticonnection.
Stop flooding.
from rtcmulticonnection.
did you solve the problem?
from rtcmulticonnection.
Related Issues (20)
- Muaz May Have Left This World! HOT 12
- https://muazkhan.com:9001/ dont work
- Listen to audio stream without microphone HOT 1
- Auto Open behavior of meeting room link possible? HOT 1
- video appearing issue HOT 7
- Problem chromium - chromium HOT 2
- Live Streaming not working in Chrome Beta 110 HOT 5
- how provide public ip and local ip manually to RTCMulticonnection instead using stun and turn server HOT 14
- muazkhan.com:9001 has SSL error
- screen displayed as video HOT 1
- local stream microphone not working while share screen + system audio shared using peerjs webrtc
- please help me to solove this problem, this vue project is alone to use a ip and port(3000), want to inside the screen sharing to this vue project, but the RTCMultiConnection is only to occupy this ip and port(9001),how to handle this issue? HOT 1
- when are on the public internet, two person can't see each other's video HOT 1
- how send rtcmulticonnection screen sharing to rtmp server like youtube HOT 1
- can anyone help me in setting socket server
- can anyone help me in setting socket server
- RTCMulticonnection.min.js is possible running on spring boot?
- Video Conferencing (MANY_TO_MANY) not working anymore HOT 1
- TypeError: (0 , stream_1.pipeline) is not a function
- DIFFERENCE BETWEEN addStream() and captureStream()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtcmulticonnection.