、Kurento視頻直播系統
4.1 應用實例
搞視頻會議就會涉及一對多、多對多、廣播、轉碼、混音、合屏、錄制,這就需要用到流媒體服務器,而kurento就具有這些功能。
他主要用來作為webrtc的流媒體服務器,因為BUG多,目前不適於商用,不過前景可期,
圖1:
說明:
1、看到這里您可不要講他的功能和ICE服務器的功能給搞混了哦,后者主要用來做NAT穿透和轉發的。
4.1.1 、kurento架構
圖2:
說明:
1、客戶端對音視頻數據的采集和播放等是通過webrtc來處理的,傳輸模塊就是kurento的。
2、流媒體服務是他的核心服務,可以進行編解碼,混音,錄制,計算機視覺,視覺增強等等。
4.1.2 、特色功能---計算機視覺
圖3:
說明:
1、服務端可以對收到的視頻流進行處理,如人臉識別,這些擴展下去應用前景就很廣泛了,期待!
2、因為他對圖像進行了處理,所以延遲會比較大,識別率還存在些問題,而且會造成圖像閃動(可能也是跟延遲有關)。
3、其他功能如一對一,廣播就不重復了,很多其他流媒體服務都具有這些功能。
最后:雖然kurento目前問題很多,但我看好他,后面會繼續分享相關內容,也會和他們一起去完善這個東西。
4.2 Kureto官網
鏈接:http://www.kurento.org/whats-kurento
What's Kurento?
Kurento is a WebRTC media server and a set of client APIs making simple the development
of advanced video applications for WWW and smartphone platforms.
Kurento Media Server features include group communications, transcoding,
recording, mixing, broadcasting and routing of audiovisual flows.
Kurento 是一個 WebRTC 流媒體服務器以及一些客戶端API,有了它,
開發WWW及智能手機平台的高級視頻應用就變得更加容易。
可以利用Kurento開發的應用類型包括,視頻會議,音視頻廣播,音視頻錄制、轉碼等。
As a differential feature, Kurento Media Server also provides advanced media
processing capabilities involving computer vision, video indexing,
augmented reality and speech analysis. Kurento modular architecture
makes simple the integration of third party media processing algorithms
(i.e. speech recognition, sentiment analysis, face recognition, etc.),
which can be transparently used by application developers as the rest of Kurento built-in features.
.
Kurento Media Server adds advanced media processing to the capabilities of common media servers.
五、一個WebRTC的視頻直播試驗項目
鏈接:
https://github.com/muaz-khan/WebRTC-Experiment/tree/master/broadcast
WebRTC One-to-Many video sharing/broadcasting / Demo
1. This WebRTC experiment is for one-to-many transmission of audio/video streams.
2. It sets up multiple peer connections to support the multi-user connectivity feature.
Rememebr, WebRTC doesn't supports 3-way handshake!
3. Multi-peers establishment opens many RTP-ports according to the
number of media streamas referenced to each peer connection.
4. Multi-ports establishment causes huge CPU and bandwidth usage!
六、一個基於WebRTC的混合CDN/P2P直播開源項目
大家好,
最近在GitHub看到一個基於WebRTC的混合CDN/P2P直播開源項目,覺得很有前景。
相比傳統P2P直播軟件而言,該項目的優勢是不需要安裝任何插件,而且主流瀏覽器都支持。
出於好奇,我也在服務器上創建了一個實例,看看效果如何。
如果你稍微有那么一點的感興趣,我邀請你一起參與測試。這里是一些注意事項:
1. 測試地址 http://www.zoptv.com/player/p2p/
2. 支持的瀏覽器 Chrome, Firefox, Opera
3. 測試頁面和視頻,之后可能被刪掉
4. 期待你的建議,我會不定期的在此帖回復
P.S 感謝原作者 http://github.com/bemtv (貌似github被牆了?)
官方鏈接:
https://github.com/bemtv
http://bem.tv/
BemTV is an attempt to scale live video streaming using peer-to-peer
without the need of an external plug-in. It uses the powers of WebRTC to
build swarms, enabling the possibility to flow chunks between users.
from:http://blog.csdn.net/fireroll/article/details/47109757