pirate / webrtcchat Goto Github PK
View Code? Open in Web Editor NEW:lock_with_ink_pen: Pure Browser To Browser Chat (STUN & ICE Servers optional)
Home Page: http://pirate.github.io/WebRTCChat/
License: MIT License
:lock_with_ink_pen: Pure Browser To Browser Chat (STUN & ICE Servers optional)
Home Page: http://pirate.github.io/WebRTCChat/
License: MIT License
I tested this out, looks pretty useful. I wonder how hard the 2 things I mentioned in the title would be to achieve[they may be impossible, input please]?
to clarify:
what would be some paths of least resistance to having more than 2 people connected together? Would it even be possible for more than one person to use the same session-init-credentials? or would that cause interference?
after a successful 'handshake'/session-init, is there any chance some credentials could be persisted - so that the next time the html was fired up, a connection can happen more automatically?
hi thanxs for sharing, i tested on safari and the signaling popups (exchanging the offer) don't work.
so is it just a demo for firefox or something we can use on all platforms?
webrtc_internals_dump-host.txt
webrtc_internals_dump-join.txt
Thanks for this excellent work. It helped me get an idea on how to connect 2 WebRTC channels without using a server / backend. I am however facing a very basic problem. I am able to use the JS application when I open 2 browser instances on the same laptop.
However, surpringly I am unable to to get the JS application to work when I use the applications from 2 different laptops even though they are on the same network. I tried this multiple times and of the many attempts, I was able to get the 2 instances to communicate only once. I am therefore assuming this is some kind of a timing issue.
The client joining the conference (not the one hosting the conference) complains that the "Chat partner disconnected". I am not an expert in WebRTC or JavaScript but I debugged this a little further and found that the client joining the conference receives a "oniceconnectionstatechange" event twice after the offer / answers are exchanged. It first receives "Disconnected" and eventually "Failed".
I am using chrome Version 88.0.4324.104 (Official Build) (64-bit) and am on Windows 10 OS. The behaviour is same even if I use Edge.
I have attached the chrome://webrtc-internals/ logs. Anything else that might help you help me. I am willing to debug the problem further but am unable to figure out how to take this forward.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.