KordonBleu/jumpsuit

dc.on is not a function

Keevle opened this issue · 4 comments

C:\Users\email\Desktop\jumpsuit-master\server\game_server.js:47
dc.on('message', function(msg) {
^
TypeError: dc.on is not a function
at ClientConnection.clientCo.on.dc (C:\Users\email\Desktop\Javascriptdevelopment\jumpsuit-master\server\game_server.js:47:7)
at emitOne (events.js:96:13)
at ClientConnection.emit (events.js:188:7)
at RTCPeerConnection.ClientConnection.clientCon.ondatachannel.ev [as ondatachannel] (C:\Users\email\Desktop\Javascriptdevelopment\jumpsuit-master\node_modules\enslavism\bundle.js:458:9)
at RTCPeerConnection. (C:\Users\email\Desktop\Javascriptdevelopment\jumpsuit-master\node_modules\wrtc\lib\eventtarget.js:29:22)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

@getkey Ahhhh,are the patches on github right now,or are they in development?

They are complete.

If you can't wait you can replace the electron-webrtc directory in ./node_modules by getkey/electron-webrtc and merge the branch event-emitter and promise-api into its master.

There you go!