Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step-06- message.type==='offer' #116

Open
nalibjchn opened this issue Aug 8, 2020 · 0 comments
Open

step-06- message.type==='offer' #116

nalibjchn opened this issue Aug 8, 2020 · 0 comments

Comments

@nalibjchn
Copy link

  1. open first page with http://localhost:8080/#d25165e54d9d0, there is no issue.
  2. open a new tag or page by using the same url (http://localhost:8080/#d25165e54d9d0), there is an issue below,
    this issue is in socket.on('message', function(message){
    if (message.type == 'offer') {
    })
    for a while, the server shows the message: Peer or server disconnected. Reason: ping timeout.
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    Uncaught TypeError: Cannot read property 'type' of null
    at r. (main.js:98)
    at r.emit (index.js:83)
    at r.onevent (index.js:83)
    at r.onpacket (index.js:83)
    at r. (index.js:83)
    at r.emit (index.js:83)
    at r.ondecoded (index.js:83)
    at a. (index.js:83)
    at a.r.emit (index.js:83)
    at a.add (index.js:83)
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

please check it what the issue is, other codes I ran very well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant