-
局域网下使用移动设备浏览器访问PixelStreaming 失败,但是连接外网的话没有问题
-
原因: 信令服务器会从github上下载adapter.js ,如果断网的话,下载就会失败
-
解决方法
- 下载 adapter.js 放到 Engine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer\scripts中
- 修改SignallingWebServer下的player.htm
<head> <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"> <link rel="icon" type="image/png" sizes="96x96" href="/images/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png"> <link type="text/css" rel="stylesheet" href="player.css"> <!-- <script type="text/javascript" src="https://webrtc.github.io/adapter/adapter-latest.js"></script> --> <script type="text/javascript" src="scripts/adapter-latest.js"></script> <script type="text/javascript" src="scripts/webRtcPlayer.js"></script> <script type="text/javascript" src="scripts/app.js"></script>
UE4 android在局域网连接PixelStreaming 失败
最新推荐文章于 2023-12-08 10:48:52 发布