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

后端 未结 2 1226
孤街浪徒
孤街浪徒 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:06

    MediaStreamRecorder is a WebRTC API for recording getUserMedia() streams . It allows web apps to create a file from a live audio/video session.

     
    
        
    
        

    Spec:

    http://www.w3.org/TR/mediastream-recording/

    you can send recorded file to server.

提交回复
热议问题