Skip to content

WebRTC support. #7

@sleep9

Description

@sleep9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions