Use SRS:
- download srs source codes
git clone https://git.oschina.net/winlinvip/srs.oschina.git- build SRS
cd trunk./configure --osx --without-ssl --without-hls --without-hds --without-dvr --without-nginx --without-http-callback --without-http-server --without-stream-caster --without-http-api --without-ffmpeg --without-transcode --without-ingest --without-stat --without-librtmpmake