RecordRTC can save longer videos without crash

Demo: http://bit.ly/RecordRTC-Demo
Source: http://bit.ly/RecordRTC-Demo

To use your own socket.io implementation; use this code:

var config = {
openSocket: function (config) {
var socket = io.connect('http://your-site:8888');
socket.channel = config.channel || 'WebRTC-Experiment';
socket.on('message', config.onmessage);

socket.send = function (data) {
socket.emit('message', data);
};

if (config.onopen) setTimeout(config.onopen, 1);
return socket;
}
};