首页 > 解决方案 > 连接到服务器 Pixel Streaming Unreal Engine 后出错

问题描述

我在将 Signaling 和 Web 服务器连接到 Matchmaker 服务器(像素流式传输,虚幻引擎 4)时遇到问题。我使用以下方法创建了媒人服务器:

run.bat --httpPort 88 --matchmakerPort 8888

我使用以下方法创建了信令和 Web 服务器:

run.bat --httpPort 10 --matchmakerPort 8888 --streamerPort 8880 --matchmakerAddress 192.63.8.102 --publicIp 192.63.8.102 --UseMatchmaker

我可以连接到服务器,我在 Matchmaker 中有一个信号。问题是当我尝试在快捷方式中运行具有这些属性的游戏时:

-AudioMixer -PixelStreamingIP=localhost -PixelStreamingPort=8888

我有一个错误:

结束与远程地址的连接 ::1 错误(语法错误:位置 0 处 JSON 中的意外标记 G):无法从数据中解析 Cirrus 信息:GET // HTTP/1.1 Pragma: no-cache Cache-Control: no-cache Host: localhost 来源:http://localhost 升级:websocket 连接:升级 Sec-WebSocket-Key:6Vq4v7dV2lwT6mA+WZUl3A== Sec-WebSocket-Protocol:ws Sec-WebSocket-Version:13

如何解决?我没有更改 cirrus.js 中的任何内容

标签: serverclient-serverpixelunreal-engine4

解决方案


推荐阅读