Sending camera video from browser to server

后端 未结 4 1021
再見小時候
再見小時候 2020-12-24 07:33

Im trying out the new and exciting features of chrome canary 19.

I can basically grab the video from the web-cam and set it to a source element for a video tag.

4条回答
  •  庸人自扰
    2020-12-24 08:05

    Wow, the question is almost two years old and still relevant. Currently the two options you have is either feeding the camera stream to a canvas in order to regularly send screenshots to your sever (easy but very slow), or using WEBRTC to stream the data. Unfortunately, support for WEBRTC on the server side is still not very good as there are not too many webrtc libraries for common programming languages.

提交回复
热议问题