Skip to content

Commit

Permalink
disabled webrtc as of libp2p/js-libp2p#2702
Browse files Browse the repository at this point in the history
  • Loading branch information
silkroadnomad committed Nov 20, 2024
1 parent 4eee415 commit 0e6fe20
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions relay/src/libp2p-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ export function createLibp2pConfig({ keyPair, datastore, listenAddresses, announ
},
transports: [
tcp(),
webRTCDirect({
rtcConfiguration: {
iceServers: [
{ urls: ['stun:stun.l.google.com:19302'] },
{ urls: ['stun:global.stun.twilio.com:3478'] }
]
}
}),
webRTC({
rtcConfiguration: {
iceServers: [
{ urls: ['stun:stun.l.google.com:19302'] },
{ urls: ['stun:global.stun.twilio.com:3478'] }
]
},
}),
// webRTCDirect({
// rtcConfiguration: {
// iceServers: [
// { urls: ['stun:stun.l.google.com:19302'] },
// { urls: ['stun:global.stun.twilio.com:3478'] }
// ]
// }
// }),
// webRTC({
// rtcConfiguration: {
// iceServers: [
// { urls: ['stun:stun.l.google.com:19302'] },
// { urls: ['stun:global.stun.twilio.com:3478'] }
// ]
// },
// }),
circuitRelayTransport({ discoverRelays: 1 }),
webSockets({
filter: filters.all,
Expand Down

0 comments on commit 0e6fe20

Please sign in to comment.