Maison  >  Questions et réponses  >  le corps du texte

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

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

阿神阿神2743 Il y a quelques jours930

répondre à tous(3)je répondrai

  • 伊谢尔伦

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

    通过第三方nginx插件nginx_mod_h264_streaming应该能完成你的。

    可以参考这里:https://jalena.bcsytv.com/archives/1104

    répondre
    0
  • 阿神

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

    原理是有视频访问请求的时候应用服务器将视频上传到Nginx代理服务器上做临时存储,然后将Nginx上的视频地址暴露给前台,前台进行处理视频流,然后删除Nginx临时文件。是吗?
    我也特想想知道,在线等....

    répondre
    0
  • ringa_lee

    ringa_lee2017-04-17 13:30:53

    直接放服务器就好

    répondre
    0
  • Annulerrépondre