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

 

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 @   ®Geovin Du Dream Park™  阅读(403)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示