Tags: rtmpMac is currently only available by manually installing1. Download Nginx Here is recommended to go to the official website. At the same time do not under the latest. I did not find the file in the Nginx conf on git because it was not finished downloading or the file on Git is incomplete.2. Download Nginx-rtmp-
1. Preparing the installation packageNginx:http://nginx.org/download/nginx-1.5.3.tar.gznginx-rtmp-module:https://github.com/arut/nginx-rtmp-module/releases,nginx-rtmp-module-1.0.2Pcre:http://vcs.pcre.org/viewvc/code/tags/pcre-8.33
: This article describes how to build an rtmp VOD system for nginx development (3). For more information about PHP tutorials, see. 1:/create multimedia/rtmp in the/usr/local/nginx/html/Directory
2: copy the file 1. flv to the Directory
3: open usr/local/nginx/conf/
created in the mercurial installation directory.Iii. adding dependent resource bundlesIn the Nginx source code to create the Objs\lib folder, where this name is only the convention of the custom, can not be the two names. And the downloaded Nginx-rtmp-module-master, OpenSSL, Pcre, zlib respectively extracted under the Lib folder.The above actions can be the same
created in the mercurial installation directory.Iii. adding dependent resource bundlesIn the Nginx source code to create the Objs\lib folder, where this name is only the convention of the custom, can not be the two names. And the downloaded Nginx-rtmp-module-master, OpenSSL, Pcre, zlib respectively extracted under the Lib folder.The above actions can be the same
: This article mainly introduces the nginx Reverse proxy TCP to fetch the RTMP stream. if you are interested in the PHP Tutorial, refer to it. Nginx Reverse proxy TCP, get RTMP stream
I. descriptionNginx only supports HTTP reverse proxy by default. to support TCP reverse proxy, you must add the tcp proxy module nginx_
Nginx builds one of the streaming media servers supporting http and rtmp protocolsPurpose:Enable Nginx to support flv and mp4 files and RTMP live and on-demand video;Enable the rtmp hls FunctionMATERIALS:HTTP Live Streaming (HLS) is an HTTP-based Streaming media network tran
confirm the environment that is required to install the compilation:Make sure gcc-c++ and Openssl-devel are installed before installation (can be installed with Yum)yum-y install gcc gcc-c++ Yum Install Openssl-develinstalling nginx-rtmp under Linux requires a few of the following installation packages (the installation package version does not have a hard requirement, choose the one that suits you):1.
from the camera, and the video on the right is the video read from the rtmp url after streaming (there is usually a certain delay ).
Shows the running result.
Download
Simplest flashmedia example
SourceForge: https://sourceforge.net/projects/simplestflashmediaexample/
Github: https://github.com/leixiaohua1020/simplest_flashmedia_example
Open source China: http://git.oschina.net/leixiaohua1020/simplest_flashmedia_example
CSDN download: http://
weaknesses, rtmp has a weakness is cumulative error, because rtmp based on TCP will not drop packets.Therefore, when the network status is poor, the server will cache the package, resulting in accumulated delays;Wait for the network condition is good, send to the client together.The solution to this is thatwhen the client's buffer is large, it disconnects the heavy connection。
Measured and detected, when
A simple Rtmp/hls Live server licensed by the MIT protocol, its core value concept is simplicity and efficiency.How to use:TEP 1:build SRSTar XF simple-rtmp-server-*.*.tar.gzCD Simple-rtmp-server-*.*/trunk./configure--with-ssl--with-hlsMakeStep 2:start SRS./objs/simple_rtmp_server-c conf/srs.confStep 3 (Optional): Start Nginx
Rtmp_sample_player_wowza: The test player extracted from the Wowza server.
Rtmp_sample_player_flowplayer: RTMP/HTTP Player Based on FlowPlayer (add RTMP plugin)
Rtmp_sample_player_videojs: RTMP/HTTP Player Based on VideoJS
Rtmp_sample_player_audio PLAYER: RTMP/HTTP Player Based on audio player
Hls_sample_player_flowpl
multi-tier CDN node distribution, real-time is about 3 seconds. In some of the real-time requirements of the application of rtmp-based. Compared to the kind of UDP private protocol yy, RTMP calculation delay, compared to the HTTP stream delay (typically more than 10 seconds) rtmp low latency. For general live streaming applications,
ActionScript)Simplest_as3_rtmp_streamer: The simplest rtmp ejector (based on ActionScript)Rtmp_sample_player_adobe: Test player extracted from Adobe Flash Media severRtmp_sample_player_wowza: Test player extracted from the Wowza serverRtmp_sample_player_flowplayer: FlowPlayer-based rtmp/http player (add rtmp plugin)RTMP_SAMPLE_PLAYER_VIDEOJS: Videojs-based
about 0.8 seconds.. Multi-level edge nodes do not affect latency (and SRS-homologous CDN Edge servers can do). Nginx-rtmp latency is a bit large, it is estimated that the processing of the cache, multi-process communication caused?. The GOP is a tough, but the SRS can close the GOP cache to avoid this effect.. Server performance is too low, it can also cause the delay to become larger, the server too late
Itools a bit of a card, but pushing to the server is fast. Preface to push FlowThis blog is a supplement to the:简信 and 微博 ask me how to push the flow this part of how to achieve. So, I've re-integrated RTMP the push flow and merged it into the previous project.Download linkGitHub (full version video live)Blog details (suggested that you join this article to see together)Mac Build Nginx+
I. PreambleCore: Server (Nginx-rtmp-module) + push-to-stream (OBS) + Accept-end (Jwplayer)Second, the service side 1. Download Nginx-rtmp-module ModuleAddress: Https://github.com/arut/nginx-rtmp-module2. Compile and install NginxC
IOS RTMP -based video push streamFirst, the basic introductioniOS live a birth, immediately fiery not, a variety of live platforms springing up, because of this, also led to the rapid development of live broadcasting technology, in the IT industry proficient in live technology monkeys are very valuable. Broadcast technology involves a wide range of knowledge, the most important is probably the following: soft and hard decoding. H264, beauty processing
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.