-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebRTC #7
Comments
@lgierth when you have a moment can you help me understand what "Unreliable RTCDataChannels" unlocks... is this a means to get UDP like / application layer control of the transport layer? |
@dignifiedquire @diasdavid Do you know of any performance metrics we can use to make the WebRTC performance requirement more specific? Can you help me shape that topic please. |
|
|
Yes, that :) We'll start work on packet switching in go-libp2p soon, and we'll need unreliable datachannels to do the same in JS (unless there's some other avenue we have overlooked so far). |
@lgierth would getting access to a TCP/UDP socket api supersede the need for unreliable RTCDataChannels and webrtc perf improvements? |
UDP sockets yes - but that is soooooo unlikely |
WebRTC performance
WebRTC DataChannel throughtput is CPU bound, and single threaded.
WebRTC DataChannels using a small and fixed SCTP window size causes throughput to be very sensitive to network delay and significantly lower than using larger or flexible window sizes.
|
EdgeAll open WebRTC issues > https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/?page=1&q=WebRTC%20status%3Acodereview%20status%3Aconfirmed%20status%3Aexternal%20status%3Ainprogress%20status%3Arootcause SafariAll open WebRTC issues > https://bugs.webkit.org/buglist.cgi?component=WebRTC&product=WebKit&resolution=--- BraveWebRTC issues are mostly what ever electron's version of chromium suffered from. Soon to be whatever a more recent version of chromium suffers once they swap out muon... of note brave/browser-laptop#10631 I should follow up on that. |
Hi everyone. I'm the author of RAWRTC and I also recently worked on Mozilla's data channel implementation. WebRTC performanceWhy we are CPU bound is still a mystery to me and the guys that develop usrsctp (the library pretty much everyone uses for data channels). This needs investigation and would make a great topic for a thesis/paper. I would love to investigate this further but progress will be slow since I have other things I need to take care of. Add support for WebRTC Data Channel in WebWorkers & ServiceWorkersThis is under investigation as part of WebRTC Next Version. You're not alone. 🙂 Unreliable RTCDataChannelsI'm a little puzzled by this. We have unreliable data channels for years now. 😀 pc.createDataChannel('blah', { maxRetransmits: 0 }) |
Hello, I’m author of NodeRTC. NodeRTC is a pure js WebRTC DataChannel implementation. The final goal of this project is to make WebRTC a more developer-friendly. |
Just to flesh out our options here: pion/webrtc is a pure Go WebRTC stack. The entire stack is implemented in user-space on top of UDP. It is developer friendly and has decent DataChannel transfer speeds. |
What is WebRTC: https://hpbn.co/webrtc/
WebRTC performance
WIP: @olizilla - need more sources, and numbers on the performance issue
Add support for WebRTC Data Channel in WebWorkers & ServiceWorkers
WebRTC in WebExtensions
Unreliable RTCDataChannels
WebRTC+QUIC
The text was updated successfully, but these errors were encountered: