Live Streaming Topic

前端 未结 4 919
青春惊慌失措
青春惊慌失措 2020-12-28 19:03

This could be quite an intresting topic for people who are intrested in livestreaming from your device to a webserver. (P

4条回答
  •  粉色の甜心
    2020-12-28 19:31

    1) What would be the best method for live streaming WITH audio? Video Recording OR my method + Audio recording?

    This really depends on your view of "best". If you are looking for resources and not the quality, then your way is really good. Otherwise, you should use a native streaming mechanism or maybe implement a video streaming technique to stream and encode video.

    3) How would you stream audio to the webserver? (Main goal) (With Java, PHP and JavaScript)

    I suggest that you stick to MediaRecorder because it really does what your doing in a good way. Still try to find a way to get the stream in order to send in your way as files are not the best choice although you could stick to files and send small files in a timely manner. In this way you could put a bigger portion of the load on the server rather than the client.

    4) I am also planning to add typical live streaming feautures to i, e.g. when a famous person appears, you could have the ability to show his name while you are live streaming, or just add an image from your sd directory to your livestream. Would you also decode it and overlay the image, or put the image in your livestream in some way?

    Do not even try to put it in your livestream. With your php server, you have more capabilities to send this info alone with certain tag and let the server do the processing or maybe integration of these with the video

提交回复
热议问题