Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Full video capture for HTML5 (ASP.NET MVC)

$
0
0

Hi there

Could anybody give a clue on how to record a video (with sound) and send file or stream to a server side?

I'm trying to use

var streamRecorder;

var webcamstream;

navigator.getUserMedia({ video: true, audio: true }, handleVideo, videoError);

where handleVideo is as following:

function handleVideo(stream)
        {
            video.src = window.URL.createObjectURL(stream);
            webcamstream = stream;
        }

and certain button on the Web form starts recording:

function startRecording()
        {
            streamRecorder = webcamstream.record();
            //setTimeout(stopRecording, 10000);
        }

This is taken from one of the numerous examples on Internet. The problem of a code above that the webcamstream has no method record(). How come? What do I do wrong?

Thanks.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>