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

WebRTC support. #7

Open
sleep9 opened this issue Mar 22, 2024 · 1 comment
Open

WebRTC support. #7

sleep9 opened this issue Mar 22, 2024 · 1 comment

Comments

@sleep9
Copy link

sleep9 commented Mar 22, 2024

libp2p/js-libp2p#2445

Please see this discussion for details of the problem. The react-native app I am using is a clone of this repo with react-native-webrtc installed. Not sure if this problem is a native library issue or not.

This may be relevent output from libp2p debug

libp2p:webrtc:error initiator error parsing ICE candidate +0ms [TypeError: `sdpMLineIndex` and `sdpMid` must not null]

....

 DEBUG  libp2p:connection-manager:dial-queue dial to /ip4/${ip_address}/tcp/${port}/ws/p2p/12D3KooWSFr7xJnyREpieyX5sGw2mCzc4k6LEa2KEBkXNhYXoVhB/p2p-circuit/webrtc/p2p/12D3KooWDYhZLWM7XagHSf9HSZT338UN9LesS1ckQRhdnnQSSkk6 succeeded +5s
 DEBUG  libp2p:webrtc:stream:outbound:5 channel state is "connecting" and not "open", waiting for "open" event before sending data +8ms

relevent modules
"react-native-webrtc": "^118.0.3"
"@libp2p/webrtc": "^4.0.22"
"react-native": "0.72.6"

relevent pods
react-native-webrtc: 6fc32f3d556aa60aa2334eeaf6cadcdab2432809
JitsiWebRTC: 3a41671ef65a51d7204323814b055a2690b921c7

@sleep9
Copy link
Author

sleep9 commented Mar 27, 2024

I will send 100 USDT/USDC or equivalent in ETH to anyone who solves this issue.

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