Transfer real-time video stream to server using Android

后端 未结 3 828
春和景丽
春和景丽 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:10

    Quite a general question, but I will try to give you a direction for research:

    First of all you will need answer several questions:

    1) What is the nature and purpose of a video stream? Is it security application, where details in stills are vital (then you will have to use something like MJPEG codec) or it will be viewed only in motion?

    2) Are stream source, server and clients on the same network, so that RTSP might be used for more exact timing, or WAN will be involved and something more stable like HTTP should be used?

    3) What is the number of simultaneous output connection? In other words, is it worth to pay for something like Wowza with transcoding add-on (and maybe nDVR too) or Flussonic, or simple solution like ffserver will suffice?

    To cut long story short, for a cheap and dirty solution for couple of viewers, you may use something like IP Webcam -> ffserver -> VLC for Android and avoid writing your own software.

提交回复
热议问题