Using the new branch, download and updated this date 10/25, when I try and
run the test example, I get no recording. Below is the log output:
192.168.1.129 - - [Fri, 25 Oct 2013 20:15:31 GMT] “POST /createToken/
HTTP/1.1” 200 184 “http://192.168.1.169:3001/” "Mozilla/5.0 (Windows NT
6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101
Safari/537.36"
2013-10-25T20:15:35.931Z - info: Socket connect KMXMCpvQWLyhIM7tQE2_
Consumed token 526ad1631907ddc906000001 from room
52601b3425fddd233b000001 of service 52601af4c269c626134c1fe1
2013-10-25T20:15:35.981Z - info: OK, Valid token
2013-10-25T20:15:40.413Z - info: erizoController.js: Starting recorder
streamID undefined url /tmp/recordingundefined.mkv
2013-10-25T20:15:40.421Z - error: uncaughtException: Cannot call method
’hasAudio’ of undefined date=Fri Oct 25 2013 15:15:40 GMT-0500 (CDT),
pid=1782, uid=0, gid=0, cwd=/home/licode/erizo_controller/erizoController,
execPath=/usr/bin/nodejs, version=v0.10.21, argv=[node,
/home/licode/erizo_controller/erizoController/erizoController.js],
rss=27652096, heapTotal=17603072, heapUsed=7280624, loadavg=[0.04443359375,
0.0537109375, 0.02685546875], uptime=170.401590135, trace=[column=47,
file=/home/licode/erizo_controller/erizoController/erizoController.js,
function=, line=335, method=null, native=false, column=17, file=[as $emit]
(events.js, function=Socket.EventEmitter.emit, line=98,
method=EventEmitter.emit, native=false, column=22,
file=/home/licode/node_modules/socket.io/lib/namespace.js,
function=SocketNamespace.handlePacket, line=335, method=handlePacket,
native=false, column=38, file=/home/licode/node_modules/
socket.io/lib/manager.js, function=Manager.onClientMessage, line=488,
method=onClientMessage, native=false, column=20,
file=/home/licode/node_modules/socket.io/lib/transport.js,
function=WebSocket.Transport.onMessage, line=387,
method=Transport.onMessage, native=false, column=10,
file=/home/licode/node_modules/socket.io/lib/transports/websocket/hybi-16.js,
function=, line=39, method=null, native=false, column=17, file=events.js,
function=Parser.EventEmitter.emit, line=95, method=EventEmitter.emit,
native=false, column=16, file=/home/licode/node_modules/
socket.io/lib/transports/websocket/hybi-16.js, function=finish, line=288,
method=null, native=false, column=15, file=/home/licode/node_modules/
socket.io/lib/transports/websocket/hybi-16.js,
function=Parser.expectHandler, line=299, method=expectHandler,
native=false, column=24, file=/home/licode/node_modules/
socket.io/lib/transports/websocket/hybi-16.js, function=Parser.add,
line=466, method=add, native=false], stack=[TypeError: Cannot call method
’hasAudio’ of undefined, at Socket.
(/home/licode/erizo_controller/erizoController/erizoController.js:335:47),
at Socket.EventEmitter.emit [as $emit] (events.js:98:17), at
SocketNamespace.handlePacket (/home/licode/node_modules/
socket.io/lib/namespace.js:335:22), at Manager.onClientMessage
(/home/licode/node_modules/socket.io/lib/manager.js:488:38), at
WebSocket.Transport.onMessage (/home/licode/node_modules/
socket.io/lib/transport.js:387:20), at Parser.
(/home/licode/node_modules/
socket.io/lib/transports/websocket/hybi-16.js:39:10), at
Parser.EventEmitter.emit (events.js:95:17), at finish
(/home/licode/node_modules/
socket.io/lib/transports/websocket/hybi-16.js:288:16), at
Parser.expectHandler (/home/licode/node_modules/
socket.io/lib/transports/websocket/hybi-16.js:299:15), at Parser.add
(/home/licode/node_modules/
socket.io/lib/transports/websocket/hybi-16.js:466:24)]
Hope this helps.
Tom C.