EasyDarwin是開源高效的RTSP服務器,支持Windows和linux上部署,可在GitHub上搜索下載。EasyDarwin對視頻流實時轉發,實現基于RTSP協議的視頻監控、直播等功能。
其次將視頻源接入EasyDarwin服務器,我使用的是EasyPusher。EasyPusher是支持Windows、linux、Android、iOS、各種arm平臺的RTSP推送端,非常簡便易用,而且成熟穩定。GitHub有幾個Demo代碼:
EasyPusher_File:推送本地文件到EasyDarwin流媒體服務器。
EasyPusher_RTSP:將RTSP/RTP數據獲取到本地,再推送到EasyDarwin。
EasyPusher_SDK:調用攝像機SDK,將SDK視頻流回調的數據推送給EasyDarwin。
使用支持RTSP的播放器,播放EasyDarwin轉發的rtsp視頻流。EasyPlayer、VLC等播放器都可以播放。我用Android EasyPusher推送Android攝像頭到公網阿里云EasyDarwin服務器,再用Windows版本EasyPlayer從公網服務器拉取RTSP流播放。延遲在200-600毫秒左右,沒有CDN加速。
EasyDarwin服務器下載:https://github.com/EasyDarwin/EasyDarwin EasyPusher Demo代碼下載:https://github.com/EasyDarwin/EasyPusher EasyPusher Android Demo代碼下載:https://github.com/EasyDarwin/EasyPusher_Android Android EasyPusher下載app下載:https://fir.im/EasyPusher EasyPlayer Demo下載: https://github.com/EasyDarwin/EasyPlayer EasyPlayer Android Demo下載: https://github.com/EasyDarwin/EasyPlayer_Android
郵件:support@easydarwin.org
WEB:www.EasyDarwin.org
Copyright ? EasyDarwin.org 2012-2017
新聞熱點
疑難解答