Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ivanjermakov
4 months ago
|
parent
|
context
|
favorite
| on:
Peer-to-peer file transfers in the browser
In WebRTC, TURN server is only used to establish a data channel. After that, data transfer us peer-to-peer.
https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/...
crazygringo
4 months ago
[–]
That's incorrect. What you're describing is STUN, when it works. TURN is what is used when peer-to-peer remains impossible. All data transfer is via the TURN server.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/...