mirror of
https://github.com/xtr-dev/rondevu-client.git
synced 2025-12-10 10:53:24 +00:00
Major improvements to connection establishment: **Trickle ICE Implementation:** - Send offer/answer to server IMMEDIATELY after creating SDP - Don't wait for ICE gathering before sending offer/answer - ICE candidates are now sent as they're discovered (true trickle ICE) - Connection attempts can start with first candidates while more gather **Removed Delays:** - CreatingOfferState: No longer waits 10-15s for ICE before sending offer - AnsweringState: No longer waits 10-15s for ICE before sending answer - Answering state now takes ~50-200ms instead of 15+ seconds **Code Organization:** - Moved peer.ts to peer/index.ts directory structure - Removed unused pendingCandidates buffering - Removed unused waitForIceGathering methods - Cleaned up timeout handling **Breaking Changes:** - "answering" state now transitions much faster to "exchanging-ice" - ICE candidates start trickling immediately instead of in batches This dramatically improves connection speed and follows WebRTC best practices. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
649 B
JSON
33 lines
649 B
JSON
{
|
|
"name": "@xtr-dev/rondevu-client",
|
|
"version": "0.6.0",
|
|
"description": "TypeScript client for Rondevu topic-based peer discovery and signaling server",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"webrtc",
|
|
"p2p",
|
|
"signaling",
|
|
"peer-discovery",
|
|
"rondevu"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"dependencies": {
|
|
"@xtr-dev/rondevu-client": "^0.5.1"
|
|
}
|
|
}
|