Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

dc.on is not a function #2

Closed
Keevle opened this issue Feb 23, 2017 · 4 comments
Closed

dc.on is not a function #2

Keevle opened this issue Feb 23, 2017 · 4 comments

Comments

@Keevle
Copy link

Keevle commented Feb 23, 2017

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
Copy link
Member

getkey commented Feb 23, 2017 via email

@Keevle
Copy link
Author

Keevle commented Feb 24, 2017

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

@getkey
Copy link
Member

getkey commented Feb 24, 2017

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.

@getkey
Copy link
Member

getkey commented Feb 26, 2017

There you go!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants