Last year, a default media server was set up on Mac OSX based on the open source component Nginx-rtmp-module, the following is the process note download Https://github.com/arut/nginx-rtmp-module download http:/ /nginx.org/download/nginx-1.4.2.tar.gz Download Ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ Pcre-8.33.tar.gz extract Three compressed packages, CD Nginx-rtmp-module./configure--add-module=/work/temp/nginx-rtmp-module--with-http_ssl _module--with-pcre=/work/temp/pcre-8.33 make sudo make install download http://www.evermeet.cx/ffmpeg/ ffmpeg-2.0.7z (other versions see http://ffmpeg.org/download.html) Download http://www.evermeet.cx/ffplay/ ffplay-2.0.7z FFmpeg and Ffplay to/usr/local/bin/the rtmp-publisher copy under test to the WWW directory, Access publisher.html and player.html in your browser to start live recording and playback using Ffplay Rtmp://localhost/myapp/mystream or to play a recorded video quick start for swift language Published by the blog post, please join the SWIFT Chinese QQ group 259152129 to study Swift technology with the author. "Swift Palace Road" focus on the swift development of common class Library example walkthrough, has now accepted a comprehensive booking, 100 copies of the author's signature version of the booking link: http://t.cn/R7HMD9s.
Set up a media server note on your Mac