Sending camera video from browser to server

后端 未结 4 1016
再見小時候
再見小時候 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.

    0 讨论(0)
  • 2020-12-24 08:07

    You need some kind of streaming media server on the back.

    The process would be:

    1. capture the feed
    2. send it to the server
    3. transcode to various client formats
    4. manage the outbound streams

    There are numerous free and paid varieties available:

    • nodejs(demo/POC)
    • wowza(paid)
    • chrome based

    More about transcoding: xuggler
    The 'swiss army knife' of media: ffmpeg

    and so on.

    0 讨论(0)
  • 2020-12-24 08:08

    I have developed video recording solutions for the better part of the last 5 years and contributed a lot to fixing video recording bugs in Red5.

    On the desktop you can use a Flash client + a media server (Red5, Wowza, Adobe Media Server) and on the mobile you can use HTML Media Capture.

    I gave a detailed answer on a similar question at Record video on browser and upload to LAMP server

    0 讨论(0)
  • 2020-12-24 08:24

    You can try nimbb, in which they have Flash-based and HTML5 capturing. After that, you can push the video to Brightcove to transcode it to various clients format.

    They have API integration. The only issue is the cost.

    0 讨论(0)
提交回复
热议问题