GithubHelp home page GithubHelp logo

xsdk's People

Contributors

async-cl avatar jerrychabolla avatar lazarus404 avatar nicholi avatar pachpict avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xsdk's Issues

SimpleWebRTC example is not working anymore.

Hi ,

Yesterday the SimpleWebrtc example was working just fine, by some reason, today, it stoped to work, i don't know why, i'm using the "secure : false" method to connect with my credentials (the same config that i was using yesterday when everything was working).

Currently when i try to create the room, nothing happens, i can see the ice and the common requests on the web inspector, but the room is never created, and i'm not getting any errors :(

Some ideas?

Uncaught (in promise) DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

I have used simplewebrc example and implement it. But i am getting the following error.

xirsys.signal.js:331 Uncaught (in promise) DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
at constructor.send (/js/xirsys.signal.js:331:28)
at constructor.send (/js/xirsys.signal.js:409:15)
at constructor.emit (/js/xirsys.simplewebrtc.connection.js:94:2

Can any one let me know that what i am doing wrong?

SimpleWebRtc Not working

I getting error when run simplewebrtc.html. I update my credentials xirsys_connect.js.
When i create room , the following error logged in chrome console.

Uncaught TypeError: Failed to construct 'RTCPeerConnection': The value provided is neither an array, nor does it have indexed properties.
at window.RTCPeerConnection (simplewebrtc.bundle.js:11371)
at new TraceablePeerConnection (simplewebrtc.bundle.js:10138)
at new PeerConnection (simplewebrtc.bundle.js:6121)
at new Peer (simplewebrtc.bundle.js:13559)
at WebRTC.createPeer (simplewebrtc.bundle.js:14436)
at constructor.joinCB (simplewebrtc.bundle.js:14161)
at constructor.onPeers (xirsys.simplewebrtc.connection.js:201)
at constructor.handleUserService (xirsys.signal.js:451)
at constructor.handleService (xirsys.signal.js:432)
at WebSocket.self.transport.onmessage (xirsys.signal.js:317)

please help me to resolve this

Err: WebSocket opening handshake was canceled

I am getting errors in Chrome after I successfully managed to receive token from my own server and ICE servers list as well

successful requests (shown in blue in Chrome)

xirsys.core.js:229 XHR finished loading: POST "https://domain.org/api/webrtc/signal/token".(anonymous function) @ xirsys.core.js:229
xirsys.core.js:229 XHR finished loading: GET "https://domain.org/api/webrtc/signal/list?secure=0".

Then, errors

xirsys.signal.js:238 WebSocket connection to 'wss://endpoint02.uswest.xirsys.com/ws/v2/...<long token string here>...' failed: WebSocket opening handshake was canceled
next @ xirsys.signal.js:238
init @ xirsys.signal.js:262
openSocket @ xirsys.signal.js:320
constructor @ xirsys.signal.js:87
(anonymous function) @ xirsys.signal.js:381
(anonymous function) @ xirsys.signal.js:496
xhr.onreadystatechange @ xirsys.core.js:209

Then, another one after that

signal.html:122 error:  undefined
(anonymous function) @ signal.html:122
emit @ xirsys.core.js:309
onError @ xirsys.signal.js:524
self.transport.onerror @ xirsys.signal.js:314
GET https://domain.org/xsdk/examples/undefined signal.html:122 error:  undefined:1
(anonymous function) @ signal.html:122
emit @ xirsys.core.js:309
onError @ xirsys.signal.js:524
self.transport.onerror @ xirsys.signal.js:314
source.onerror @ xirsys.signal.js:153

P2P Chat video blackout when interrupted by 3rd party request

Bug happens when 2 users are in a P2P chat, and a 3rd user requests to chat with one of them, their remote users video goes black upon receiving the request even though the 3rd party request was not responded to.

Reproduce:

Setup webrtc.html in examples folder

  1. Open 3 browser windows
  2. Sign in each one with user 1, user 2 and user 3 respectively.
  3. Make user 1 call user 2 to create a Peer conversation.
  4. Have user 3 call user 1 for a peer conversation. Upon canceling the request of user 3 user 1 will no longer see user 2 video, but user 2 will continue to see user 1.

Tested on Chrome Version 47.0.2526.73 (64-bit)

BUG setting iceServers array when requested to xirsys API

After a long time searching why my demo was not working with peers in different networks I found out that if I wrote webrtc.ref.webrtc.config.peerConnectionConfig in the console the iceServers array was empty. I thought it was due to the signalling server overriding my iceServer url but I ended up finding that there is a bug in lines 76 and 91.

$data must be changed to $idata in both lines of code.

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.