Answer the question
In order to leave comments, you need to log in
Broadcast video stream using HTML5 Websockets?
The point is the following.
Send live webcam video to other conference participants
navigator.getUserMedia = navigator.getUserMedia ||
navigator.webkitGetUserMedia ||
navigator.mozGetUserMedia ||
navigator.msGetUserMedia;
var video = document.querySelector('video');
if (navigator.getUserMedia) {
navigator.getUserMedia({audio: true, video: true}, function(stream) {
video.src = window.URL.createObjectURL(stream);
}, errorCallback);
} else {
video.src = 'somevideo.webm'; // fallback.
}
Answer the question
In order to leave comments, you need to log in
The question is closed.
Can be implemented using WebRTC
However, flash is the dominant technology so far.
It is not very clear why this should be done via websocket, but even if you imagine how much you will send through them, the quality will be that.
You can try to look towards solutions like https://github.com/phoboslab/jsmpeg , but this is on nodejs and requires ffmpeg/VLC.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question