視頻教程
https://www.bilibili.com/video/BV1GhiuecEpK?spm_id_from=333.788.videopod.sections&vd_source=02dd8acc3a83a728e375ff61f1ebe725
步驟
- 下載PeerStream代碼 代碼結構和項目如圖
github地址:https://github.com/inveta/PeerStreamEnterprise
-
下載node node 對應版本看readme文檔
-
在ue中安裝像素流送插件
-
重啟后打包項目
-
peerstream代碼中中進行配置如圖
-
代碼里新建啟動腳本,運行ps1腳本命令 右鍵powershell運行
啟動腳本.ps1內容# 啟動 signal.js
Start-Process node .\signal.js# 等待 1 秒鐘
Start-Sleep -Seconds 1# 啟動 execue.js
Start-Process node .\execue.js
9. 瀏覽器中輸入http://127.0.0.1:11188/video.html進行訪問