Home > Software engineering >  MFC in call Html display camera images
MFC in call Html display camera images

Time:11-19

If (the navigator. GetUserMedia) {
//the old API
The navigator. GetUserMedia ({video: {width: 1000, height: 1000}}, success, error);
}
The function success (stream) {
The console. The log (stream);
Video. SrcObject=stream;
Video. The play ();
}
This directly open the HTML file can open the camera to display images, but the navigator in MFC. GetUserMedia into not to able to show
  • Related