I need to be able to stream webcam video (and audio) from a browser to a node.js server via socket.io. I know it's possible to send individual frames as images, but it needs to be properly encoded, preferably H.264.
I have looked at APIs like OpenTok, but that requires a subscription and goes through a cloud. Is it possible to send encoded video over socket.io in JavaScript, maybe using WebRTC?