Step 6 issue

Issue #17 new
Yin LIU created an issue

The step 6 didn't work for me with Chrome. It doesn't show the remotevideo. The error message in the console is: 'Uncaught TypeError: Cannot read property 'split' of undefined' in main.js line 312. Fixed it by simply modifying the line 259 into "var mLineIndex = null;"

Comments (8)

  1. Shardul Solapure

    do you get the video on screen in step6?? I am getting just blank screens. Any idea what might be the issue? I did what you have said but still hasnt worked!! Let me know if you have any ideas. Thanks

  2. Michael Zampogna

    I get localVideo in chrome after refresh the page. I do not get remoteVideo in second window. from the console: TypeError: fn.bind is not a function at Adapter.clients (D:\BitBucket\Packt\codelab\complete\step6\node_modules\socket.io-adapter\index.js:195:31) at Namespace.clients (D:\BitBucket\Packt\codelab\complete\step6\node_modules\socket.io\lib\namespace.js:253:16) at Socket.<anonymous> (D:\BitBucket\Packt\codelab\complete\step6\server.js:26:31) at emitOne (events.js:90:13) at Socket.emit (events.js:182:7) at Socket.onevent (D:\BitBucket\Packt\codelab\complete\step6\node_modules\socket.io\lib\socket.js:335:8) at Socket.onpacket (D:\BitBucket\Packt\codelab\complete\step6\node_modules\socket.io\lib\socket.js:295:12) at Client.ondecoded (D:\BitBucket\Packt\codelab\complete\step6\node_modules\socket.io\lib\client.js:193:14) at Decoder.Emitter.emit (D:\BitBucket\Packt\codelab\complete\step6\node_modules\component-emitter\index.js:134:20) at Decoder.add (D:\BitBucket\Packt\codelab\complete\step6\node_modules\socket.io-parser\index.js:247:12)

  3. Log in to comment