Home  >  Q&A  >  body text

linux - 如何用nginx作为视频服务器转发mp4?

比如从浏览器请求 http://localhost/hello.mp4
将会播放该mp4.

阿神阿神2743 days ago919

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 13:30:53

    You should be able to do it through the third-party nginx plug-in nginx_mod_h264_streaming.

    You can refer here: https://jalena.bcsytv.com/archives/1104

    reply
    0
  • 阿神

    阿神2017-04-17 13:30:53

    The principle is that when there is a video access request, the application server uploads the video to the Nginx proxy server for temporary storage, and then exposes the video address on Nginx to the front desk, which processes the video stream, and then deletes the Nginx temporary files. Yeah?
    I also really want to know, waiting online....

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 13:30:53

    Just put it on the server

    reply
    0
  • Cancelreply