HTML5 solution to upload a webcam/camera video stream to server

后端 未结 2 1224
孤街浪徒
孤街浪徒 2021-01-30 03:31

Using getUserMedia I can capture video stream from client\'s webcam/camera. And using video tag I can show it on client\'s browser. Code:

2条回答
  •  北海茫月
    2021-01-30 04:10

    Take a look at this article: http://www.smartjava.org/content/face-detection-using-html5-javascript-webrtc-websockets-jetty-and-javacvopencv

    It shows a use of Webrtc:

    These APIs should enable building applications that can be run inside a browser, requiring no extra downloads or plugins, that allow communication between parties using audio, video and supplementary real-time communication, without having to use intervening servers (unless needed for firewall traversal, or for providing intermediary services).

提交回复
热议问题