Git Product home page Git Product logo

Comments (8)

liuyanghejerry avatar liuyanghejerry commented on July 26, 2024

希望可以以插件的形式引入,这样移动端或者现代浏览器中可以不必加载这部分内容

from js-realtime-sdk.

hellolibo avatar hellolibo commented on July 26, 2024

我们正使用 https://github.com/gimite/web-socket-js 做兼容,但是需要在服务端安置跨域文件。这个现在怎么处理?

from js-realtime-sdk.

wangxiao avatar wangxiao commented on July 26, 2024

我尽快搞下 flash 支持,大家可以先用当前版本写业务逻辑。感谢大家提的建议。
https://github.com/gimite/web-socket-js

from js-realtime-sdk.

xufanbb avatar xufanbb commented on July 26, 2024

请尽快给出方案啊,谢谢。在等着呢!

from js-realtime-sdk.

wangxiao avatar wangxiao commented on July 26, 2024

@sunng87 帮忙 review 下,demo 测试通过。
#66
其他事情在 pull request 中讨论,关闭该 issue。

from js-realtime-sdk.

hellolibo avatar hellolibo commented on July 26, 2024

因为跨域名的问题,我使用了 WebSocketMainInsecure.swf
但是还是出现下面的问题。

[WebSocket] debug enabled
[WebSocket] policy file: xmlsocket://chat8.avoscloud.com:843
[WebSocket] cannot connect to Web Socket server at wss://chat8.avoscloud.com:5799/ (SecurityError: Error #2048)
make sure the server is running and Flash socket policy file is correctly placed
[WebSocket] Error: Error #1009
[WebSocket] closed
WebSocket closed.
通信中断

from js-realtime-sdk.

wangxiao avatar wangxiao commented on July 26, 2024

对的,你不是用的我们提供的方法,请参考 Demo2 的代码,文档我们会尽快发布。

from js-realtime-sdk.

wangxiao avatar wangxiao commented on July 26, 2024

新文档已经发布,目前使用可以抓 Master 最新的代码使用,demo2 已经兼容 IE8。
相关文档地址,查阅「兼容」相关内容 https://leancloud.cn/docs/js_realtime.html

from js-realtime-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.