1- start capturing the user's screen(done)
2- display the screen as a video in the video tag
I am not able to do the second step. I have tried to do this in many ways, but none of them are working. I am able to capture the screen and display it as a video after the recording stops, but I want the live video to upload it side by side. this method should have worked according to me (I have used it for adding photos from camera to a webpage), but its not working for videos maybe. I have tried this on all browsers, its not working on any.
So please tell me what is wrong in my code or some other way in which it can be done.