You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the context of webtorrent-hybrid, I'm seeing stack traces such as the following:
/myapp/node_modules/electron-webrtc/src/RTCPeerConnection.js:189
cb(offer)
^
TypeError: cb is not a function
at /myapp/node_modules/electron-webrtc/src/RTCPeerConnection.js:189:11
at Daemon.<anonymous> (/myapp/node_modules/electron-webrtc/src/RTCPeerConnection.js:277:11)
at Object.onceWrapper (node:events:483:26)
at Daemon.emit (node:events:376:20)
at ChildProcess.<anonymous> (/myapp/node_modules/electron-eval/lib/index.js:195:27)
at ChildProcess.emit (node:events:376:20)
at DestroyableTransform.<anonymous> (/myapp/node_modules/electron-eval/lib/index.js:228:29)
at DestroyableTransform.emit (node:events:376:20)
at addChunk (/myapp/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:291:12)
at readableAddChunk (/myapp/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:278:11)
This is almost certainly the root cause of #52, though I'm not sure why this is manifesting in only some environments and not others when running webtorrent-hybrid.
In the context of webtorrent-hybrid, I'm seeing stack traces such as the following:
See the definition of RTCPeerConnection.createOffer in this project.
Note that the MDN spec shows the three-argument version as deprecated.
Not visible in the stack trace, but
createOffer
is called byPeer._createOffer
in simple-peer.This is almost certainly the root cause of #52, though I'm not sure why this is manifesting in only some environments and not others when running webtorrent-hybrid.
CC @feross @yciabaud.
The text was updated successfully, but these errors were encountered: