ipfs-shipyard / ipfs-shipyard/js-libp2p-react-native

WebRTC support.

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11
Forks
5
PR merge metrics
No merged PRs in 30d

Description

https://github.com/libp2p/js-libp2p/discussions/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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.