Skip to content
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

Replace wrtc with a better maintained lib #130

Open
G-Ray opened this issue Dec 11, 2023 · 1 comment
Open

Replace wrtc with a better maintained lib #130

G-Ray opened this issue Dec 11, 2023 · 1 comment

Comments

@G-Ray
Copy link
Owner

G-Ray commented Dec 11, 2023

wrtc is not maintained anymore.

Maybe ? https://github.com/murat-dogan/node-datachannel

@G-Ray
Copy link
Owner Author

G-Ray commented Aug 17, 2024

Tried node-datachannel, it work great between with a client, but connection fails with react-native-webrtc on Android:

Error: libdatachannel error while adding remote description: Invalid ICE settings from remote SDP
    at _RTCPeerConnection.setRemoteDescription (file:///var/home/gbonneville/src/pikatorrent/packages/node/node_modules/node-datachannel/polyfill/RTCPeerConnection.js:458:30)
    at Peer.signal (/var/home/gbonneville/src/pikatorrent/packages/node/node_modules/simple-peer/index.js:210:16)
    at file:///var/home/gbonneville/src/pikatorrent/packages/node/dist/lib/websocket.js:56:22
    at Generator.next (<anonymous>)
    at file:///var/home/gbonneville/src/pikatorrent/packages/node/dist/lib/websocket.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (file:///var/home/gbonneville/src/pikatorrent/packages/node/dist/lib/websocket.js:3:12)
    at WebSocket.<anonymous> (file:///var/home/gbonneville/src/pikatorrent/packages/node/dist/lib/websocket.js:20:35)
    at WebSocket.emit (node:events:518:28)
    at Receiver.receiverOnMessage (/var/home/gbonneville/src/pikatorrent/packages/node/node_modules/ws/lib/websocket.js:1184:20) {
  code: 'ERR_SET_REMOTE_DESCRIPTION'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant