Recently in Mac OSX based on open source components Nginx-rtmp-module set up a default media server, 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 version see http://ffmpeg.org/download.html) download http://www.evermeet.cx/ffplay/ffplay-2.0.7z; Unzip the FFmpeg and Ffplay to/usr/local/bin/to copy the Rtmp-publisher under test to the WWW directory and Access publisher.html and player.html in the browser to start the live recording and playback Use Ffplay Rtmp://localhost/myapp/mystream to play recorded video 2014.1.9
Mac Media Server