Can anyone give me some links to help me achieve this,
I want to get the webcam video (getusermedia html5) , send that webm file(not recorded , live) to the server where it will be encoded and segmented to be broadcasted to others.
I have no idea on how to create a live stream of webm video from the cam and send it to the server .. need not be websockets
Unfortunately, it isn't currently possible to access browser codecs directly from JavaScript for encoding. The only way to do it would be to utilize WebRTC and set up recording on the server. I've tried this by compiling libjingle with some other code out of Chromium to get it to run on a Node.js server... it's almost impossible.
Hopefully, the Media Recorder API will be implemented by browsers, allowing access to the encoded media in the near future.
See this link they are using websocket to transfer image stream so you can use websocket npm in nodejs http://www.smartjava.org/content/face-detection-using-html5-javascript-webrtc-websockets-jetty-and-javacvopencv
But i think its not possible without Websocket