Kurento安裝與入門06——One to one video call

One to one video call

本示例主要展現了kurento的視頻軟電話功能。html

官網文檔One to one video calljava

首先從github上獲取代碼(若是已經獲取能夠跳過,獲取的代碼已經包括後面的示例代碼了)git

git clone https://github.com/Kurento/kurento-tutorial-java.git

進入目錄,編譯執行github

cd kurento-tutorial-java/kurento-one2one-call
git checkout 6.6.0
mvn clean compile exec:java

而後在瀏覽器中打開 https://localhost:8443/,若是是虛擬機安裝的話能夠在物理機中打開https://<虛擬機IP地址>:8443/ 。瀏覽器要求支持WebRTC 功能,Chrome, Firefox都是支持的。瀏覽器

雙方都註冊一個名字,而後其中一方輸入另外一方的名字開始呼叫,被呼叫的一方確認後就能夠開始通話了ide

  1. User A is registered in the server with his namespa

  2. User B is registered in the server with her namecode

  3. User A wants to call to User B視頻

  4. User B accepts the incoming callserver

  5. The communication is established and media is flowing between User A and User B

  6. One of the users finishes the video communication

若是成功的話,畫面應該是這樣的

clipboard.png

相關文章
相關標籤/搜索