Transfer real-time video stream to server using Android

后端 未结 3 827
春和景丽
春和景丽 2020-12-12 16:45

We have to capture the real-time video using Android Camera, and send them to the server, then other users would read them through the browser or something else.

I h

3条回答
  •  悲&欢浪女
    2020-12-12 17:05

    You can handle it this way:

    Prepare the camera preview in the way described here. The Camera object has a setPreviewCallback method in which you register the preview callback. This callback provides data buffer (byte array) in YUV format that you can stream to your server.

提交回复
热议问题