UNPKG

recordrtc

Version:

RecordRTC is a server-less (entire client-side) JavaScript library can be used to record WebRTC audio/video media streams. It supports cross-browser audio/video recording.

16 lines (12 loc) 490 B
// Muaz Khan - www.MuazKhan.com // MIT License - www.WebRTC-Experiment.com/licence // Source Code - github.com/muaz-khan/WebRTC-Experiment/tree/master/RecordRTC/RecordRTC-to-Nodejs var server = require('./server'), handlers = require('./handlers'), router = require('./router'), handle = { }; handle["/"] = handlers.home; handle["/home"] = handlers.home; handle["/upload"] = handlers.upload; handle._static = handlers.serveStatic; server.start(router.route, handle);