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

Remote streams not working #186

Closed
HelloRibs opened this issue Mar 27, 2022 · 6 comments
Closed

Remote streams not working #186

HelloRibs opened this issue Mar 27, 2022 · 6 comments
Assignees

Comments

@HelloRibs
Copy link

pb.list() returns a ['[object Object]']

@geikha
Copy link
Member

geikha commented Mar 27, 2022

Further investigation:
Setting a two way stream (with custom names set to each peer). The source doesn't load anything. Matter of fact. s0.src returns null.
Running s0.initStream('name') logs:

Already connected to.. undefined

Seems Hydra can't find any other instances of Hydra running on the same server.

@ojack ojack self-assigned this Apr 7, 2022
@HelloRibs
Copy link
Author

Hi! I'm looking at the streaming issue and found some potential errors:

  • The user nick is never saved in the id/nicks object, or at least I didn't find it
  • The Socket instance appears as { connected: false, ... } and it does not look like it's sending anything
  • I hardcoded the id/nicks and it actually showed the console.log("THIS IS THE PEER", peer) and console.log("peer signal sending over sockets", id, signal) apparently with good data, but
  • The streaming never started

I was wondering if this issue could come from the socket.io and socket.io-client package versions. I'm just getting familiar with the code and hoping this information to be helpful 🌹

@ojack
Copy link
Member

ojack commented Apr 8, 2022 via email

@HelloRibs
Copy link
Author

HelloRibs commented Apr 8, 2022

Small update on this: I tried moving to older commits (the oldest was from Feb 2021) but I got the same ['[object Object]'] when pb.list()

@ojack
Copy link
Member

ojack commented Apr 11, 2022

@HelloRibs that fixed it! reverted the socket.io versions and now all fixed in v1.3.4 :) :)

@ojack ojack closed this as completed Apr 11, 2022
@milangress
Copy link

@ojack hey it think the patchbay / connection to other streams broke again :( pb.list() returns a ['[object Object]']

do you think it would be possible to take a look again? I would love to use it in a workshop

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

4 participants