WebCam

WebCam
https://www.aspsnippets.com/Articles/Capture-Image-Photo-from-Web-Camera-Webcam-in-ASPNet-using-C-and-VBNet.aspx
https://www.c-sharpcorner.com/article/capturing-image-from-web-cam-in-asp-net-core-mvc/
https://www.c-sharpcorner.com/UploadFile/4d9083/capturing-image-from-web-cam-in-Asp-Net/
https://www.c-sharpcorner.com/UploadFile/4d9083/capturing-image-from-web-cam-in-Asp-Net-mvc139/
https://www.c-sharpcorner.com/UploadFile/4d9083/capturing-image-from-web-cam-in-Asp-Net/
https://stackoverflow.com/questions/61599561/webcam-streaming-and-image-capture-in-c-sharp-asp-net
https://github.com/ardacetinkaya/WebCam-Streaming
https://www.c-sharpcorner.com/article/capture-image-from-webcam-video-usning-html5-using-javascript-and-upload-to-serv/
https://www.aspsnippets.com/Articles/Capture-Image-Photo-from-Web-Camera-Webcam-using-HTML5-and-jQuery-in-ASPNet.aspx
https://camera-sdk.com/p_6838-display-webm-stream-in-html5-video-tag.html
https://github.com/gauravnewton/html5-js-live-cam
https://www.html5rocks.com/en/tutorials/getusermedia/intro/ 手机端可以https://webrtc.github.io/samples/

https://davidwalsh.name/browser-camera Edge 手机端可以, 必须

https://github.com/infusion/jQuery-webcam flash

 


AnyCAD Rapid SDK 2022。
https://gitee.com/anycad/rapid.net.starter
https://www.nuget.org/packages/AnyCAD.Rapid.Net/2022.1.2
https://github.com/anycad/anycad.rapid.net.sample
AnyCAD三维控件核心功能基于C++2x开发,性能卓越;支持C++、.Net、Python、JavaScript等多种开发语言,满足各类开发环境。
https://github.com/wmjordan/PDFPatcher
PDF 补丁丁是一个 PDF 处理工具。


https://davidwalsh.name/demo/camera.php
https://www.html5rocks.com/en/tutorials/getusermedia/intro/     必须是https才可以各平台使用
https://webrtc.github.io/samples/src/content/getusermedia/record/

 

MediaDevices.getUserMedia() - Web APIs | MDN (mozilla.org)

https://github.com/ant-media/Ant-Media-Server
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

Uncaught TypeError: Cannot read properties of undefined (reading 'getUserMedia')
at HTMLButtonElement.captureVideoButton.onclick

chrome浏览器不能录音:Uncaught TypeError: Cannot read property ‘getUserMedia‘ of undefined解决方法
在浏览器的地址栏里输入 chrome://flags/#unsafely-treat-insecure-origin-as-secure  并回车、然后作如下修改
Enable

TypeError: Cannot read property 'getUserMedia' of undefined
意思是必须使用HTTPS加密通信才能获取getUserMedia()
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

 

  • On all browsers:

    • Normalize.css to make all the browsers have the same CSS base.
    • PrefixFree.js to avoid writing vendor prefixes.
    • H5F.js to enable HTML5 forms featues on all browsers (automatic installation by BC).
    • html5media.js to provide cross-browser support for <audio> and <video> tags and encodings.
  • On old IE versions:

    • HTML5shim.js to make them understand HTML5 tags.
    • IE9.js + ie7-squish to make them understand most CSS selectors and properties without hacks. (BC enables PNG fix)
    • PIE.js to make them understand CSS3 decorations without filters (automatic use by BC).
    • FlashCanvas to make them display <canvas> tags.
  • No dependencies - you may use jQuery or any other lib.

  • Lightweight (~12kb gzipped for modern browsers, ~27kb for IE9, ~46kb gzipped for IE<9)
  • Compatible with IE5+, FF2+ and all modern browsers.

 

https://github.com/necolas/normalize.css
https://github.com/leaverou/prefixfree/
https://github.com/ryanseddon/H5F/
https://github.com/etianen/html5media
https://code.google.com/archive/p/ie7-js/downloads

 

https://github.com/margox/vudio.js/blob/master/vudio.js

https://blog.addpipe.com/common-getusermedia-errors/

https://www.cnblogs.com/cangqinglang/p/10210826.html

https://www.cnblogs.com/dch0/p/11313440.html

 

 

var constraints = {
    video: false,
    audio: false
}
navigator.mediaDevices.getUserMedia(constraints).then(function success(stream) {
    /* do stuff */
}).catch(function(err) {
    //log to console first 
    console.log(err); /* handle the error */
    if (err.name == "NotFoundError" || err.name == "DevicesNotFoundError") {
        //required track is missing 
    } else if (err.name == "NotReadableError" || err.name == "TrackStartError") {
        //webcam or mic are already in use 
    } else if (err.name == "OverconstrainedError" || err.name == "ConstraintNotSatisfiedError") {
        //constraints can not be satisfied by avb. devices 
    } else if (err.name == "NotAllowedError" || err.name == "PermissionDeniedError") {
        //permission denied in browser 
    } else if (err.name == "TypeError" || err.name == "TypeError") {
        //empty constraints object 
    } else {
        //other errors 
    }
});

  

 https://github.com/jhuckaby/webcamjs

https://www.xarg.org/project/jquery-webcam-plugin/

https://github.com/infusion/jQuery-webcam

https://github.com/amw/jpeg_camera

https://simpl.info/getusermedia/

https://simpl.info/getusermedia/sources/ 可以选择音频,视频驱动

https://github.com/samdutton/simpl

posted @ 2022-01-09 20:45  ®Geovin Du Dream Park™  阅读(442)  评论(0)    收藏  举报