- changed title to Step 6 issue
Step 6 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)
-
reporter -
your fix has helped me
-
Helped me too!
-
reporter - edited description
-
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
-
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)
-
solution is to use older version of socket.io (~0.9.6)
-
I did what you have said but still hasnt worked!!
- Log in to comment