• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 102 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)

81. 项目在IDE上可以连接到websocket正常运行,为什么打包APK之后在手机上就连接不上websocket [ 53%]

...帮开发者已经,不用再关注了,原因是在webscoket链接时 ws后面的两个斜杠不能省略,在加速器那边不支持,普通浏览器支持! 2017-02-04 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 keeplook 相...

来源: Laya_社区 发布时间: 20170204

82. eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 53%]

...rm failed和JCFileRes::onDownloadError file error WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header /clang:-1: linker command failed with exit code 1 (use -v to see invocation) 求助!华为快游戏发布后报错 Unexpected end of JSON input Failed to load: Array buff...

来源: Laya_社区 发布时间: 20171031

83. websocket无法连接 [ 53%]

...端 this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.connectByUrl("ws://"+host+":"+port+"/hoopster"); //建立连接 this.socket.on(Laya.Event.OPEN, this, onOpen); this.socket.on(Laya.Event.MESSAGE, this, onReceive); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Lay...

来源: Laya_社区 发布时间: 20180312

84. 调用JSMpeg会闪屏 [ 53%]

...('var canvas = document.getElementById("layaCanvas")'); __JS__('var url = "ws://xxx.xxx.xx.xx:xxxx"'); __JS__('var player = new JSMpeg.Player(url, {canvas: canvas})');  WebGL下一直闪屏,不使用WebGL没有任何显示画面 附件 : --> VideoTest.zip 2017-11-15 添加评论 免费帖 --> 分...

来源: Laya_社区 发布时间: 20171115

85. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...地址和端口,即刻尝试连接。 // 注意:host 参数不需要“ws://”前缀,默认就是ws let socket = new Laya.Socket("192.168.1.2", 8899); //如果需要wss安全协议,第5个参数需要为true。 // let socket = new Laya.Socket("192.168.1.2", 8899, null, null, true); 2.1.2 co...

来源: Laya3.0_文档 发布时间: 20251010

86. socket与node服务端连不上?按照官方案例 [ 52%]

...endian = Laya.Byte.LITTLE_ENDIAN; //建立连接 this.socket.connectByUrl("ws://45.78.**.**:3000"); this.socket.on(Laya.Event.OPEN, this, openHandler); this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); this.socket.on(Laya.Event.CLOSE, this, closeHandler); this.socket.on(Laya.Event.ERROR, thi...

来源: Laya_社区 发布时间: 20180125

87. LayaNative打包Android平台,AudioMix partial wake locks长时间未释放 [ 52%]

...ze=1   PARTIAL_WAKE_LOCK              'AudioMix' (uid=1013, pid=0, ws=WorkSource{10357}) 一直得不到释放! 随便下载其他引擎做的app游戏,会发现运行的时候有AudioMix存在,锁屏或切后台后就会消失。   搜索问题发现之前cocos有过同类问题,后...

来源: Laya_社区 发布时间: 20211228

88. libwebsocket [ 51%]

...98] WebSocket::init m_host: game.example.com, m_port: 6666, m_path: /ws/ [2018/08/21 11:20:31:5503] NOTICE: Initial logging level 7 [2018/08/21 11:20:31:5504] NOTICE: Libwebsockets version: 2.3.0 layabox_mac@localhost- [2018/08/21 11:20:31:5504] NOTICE: IPV6 compiled in and ...

来源: Laya_社区 发布时间: 20180821

89. 引擎1.7.6-beta,0.9.6的layanative,ios打包,真机iphone6, 发起websocket连接时失败 [ 51%]

....368970+0800 XXXX[4079:795875] JSWebSocketDelegate::onOpen() this=70251b50 ws=701bbc80 Error compiling builtin: Invalid private name '@undefined' 2017-06-04 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - ...

来源: Laya_社区 发布时间: 20170604

90. socket.sent [ 51%]

...endian = Laya.Byte.LITTLE_ENDIAN; //建立连接 this.socket.connectByUrl("ws://localhost:8899"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Eve...

来源: Laya_社区 发布时间: 20180210