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

Scaleable Broadcast Issue #917

Open
rayj00 opened this issue May 23, 2020 · 3 comments
Open

Scaleable Broadcast Issue #917

rayj00 opened this issue May 23, 2020 · 3 comments

Comments

@rayj00
Copy link

rayj00 commented May 23, 2020

Disregard. Mistake. Number of viewers seems to be working ok. I am playing with the Scaleable Broadcast and noticed that if I originate a broadcast from my Android phone, it will also display the "Number of Broadcast Viewers: " but if I originate from my PC, it does not display the number of viewers? Any idea why?

I was going to post this in the Scaleable Broadcast github, but it is archived and read only?

Thanks,

Ray

@rayj00
Copy link
Author

rayj00 commented Jun 6, 2020

Another issue with Scaleable Broadcasting. After broadcaster starts, next viewer is ok, 2nd viewer joins ok, but then has wrong roomid stored. He has userid stored instead of roomid, so 3rd viewer cannot join? I am using Chrome and new tab for each viewer. So roomid should be the same.

Anyone else see this?

@rayj00
Copy link
Author

rayj00 commented Jun 7, 2020

Another issue with Scaleable Broadcasting. After broadcaster starts, next viewer is ok, 2nd viewer joins ok, but then has wrong roomid stored. He has userid stored instead of roomid, so 3rd viewer cannot join? I am using Chrome and new tab for each viewer. So roomid should be the same.

Anyone else see this?

To test, use Chrome browser: Start with new default broadcast. Random roomid assigned.
Open another tab and browse to page. Same roomid used. Join broadcast.
Open another tab and browse to page. Same roomid is used. Join broadcast.
Open another tab. Different roomid is used. Cannot join broadcast, but can start new broadcast.
This viewer should have received same roomid as other viewers!!

How to fix???

@xujingzhou
Copy link

I tried replacing PC Chrome with 'replaceTrack' as well and it worked. E.g.

       connection.getSocket(function(socket) {
            socket.emit('can-relay-broadcast');

			connection.getAllParticipants().forEach(function(p) {
				if (p + '' != event.userid + '') {
					connection.replaceTrack(event.stream, p);
				}
			});
        });

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

2 participants