In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
In this article, the editor introduces in detail "how to add mp4 streaming support for Nginx". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to add mp4 streaming support for Nginx" can help you solve your doubts.
download
The copy code is as follows:
# download and decompress
Wget wget
Tar zxf nginx_mod*.tar.gz
Configuration add
The copy code is as follows:
# View compilation parameters
/ usr/local/nginx/sbin/nginx-v
# enter the nginx (tengine) source directory
Cd tengine*
. / configure-- add-module=../nginx_mod_h264_streaming-2.2.7\
-- user=www-- group=www\
-- prefix=/usr/local/nginx\
-- with-pcre
# only make does not need make install
Make
Configuration
The copy code is as follows:
Mv / usr/local/nginx/sbin/nginx / usr/local/nginx/sbin/nginx.old
Cp objs/nginx / usr/local/nginx/sbin/nginx
# configuration profile
Vim / usr/local/nginx/conf/nginx.conf
Location ~\ .mp4 ${
Mp4
}
# Test
/ usr/local/nginx/sbin/nginx-t
# smooth restart
/ usr/local/nginx/sbin/nginx-s reload
There are still a lot of places that need to be modified. Friends should read it carefully and don't miss it.
After reading this, the article "how to add mp4 streaming support for Nginx" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself. If you want to know more about related articles, welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.