1.必須要安裝的有
brew install sdl
brew install openssl
brew install rtmpdump
brew install ffmpeg --with-ffplay
這些可以看我的其它博客
播放 ffplay “rtmp://live.hkstv.hk.lxdns.com/live/hks” 有的可能不行 得找支持rtmp協議的平臺 (可以通過抓包查看)
其它 看看http://blog.csdn.net/arctan90/article/details/50828771