muaz-khan / WebRTC-Experiment

WebRTC, WebRTC and WebRTC. Everything here is all about WebRTC!!
https://www.webrtc-experiment.com/
MIT License
11.76k stars 3.95k forks source link

Multi-Broadcasters Many Viewers Questions/Issue #504

Open rayj00 opened 7 years ago

rayj00 commented 7 years ago

Muaz,

And here is my configuration:

1 - Windows 7/Chrome Room Moderator 2 - Windows 10/Chrome Broadcaster 3 - Android 4.4 Tablet/Chrome Viewer

So I have a moderator, a single broadcaster, and a single viewer.

The Moderator (1) video is 640x480 and showing the broadcaster as a lower resolution than the moderator video. Also the broadcaster video on the moderator page is changing resolution sizes from 1/4 size of moderator video to 1/2 size. I am doing nothing when this happens. The videos vertical on the page.

On the Windows 10/Chrome Broadcaster and Moderator video is 640x480. No problems. Videos are vertical on page and retain resolution.

On the Android Anonymous Viewer, the Moderator Video is 640x480 and the broadcaster video is acting the same as the Windows 7 Moderator page, the resolution changes for no apparent reason. The videos are aligned horizontally.

I also notice when I change page on Moderator page, the moderator video goes away on all pages. When I go back to Multi-Broadcasters demo page and choose Room Moderator, the Moderator video comes back on, but not on broadcaster or viewer pages.

Question: What is the purpose of the Room Moderator? I do not see any options for Moderator, only separate video.

How can I run this demo in my lab, without the Firebase?

rayj00 commented 7 years ago

Muaz,

Does Multi-Broadcasters and Many Viewers run with RTCMulticonnection-v3? And if not, could you provide this? I tried to install v2.2.5 but I am having problems....

rayj00 commented 7 years ago

First of all, Anonymous Viewers are seeing video from the Moderator? Viewers should only see Broadcaster video. (Muaz is aware of this)

Secondly, in this application of Multi-Broadcasters-and-Many-Viewers, the moderator role actually does nothing! There is no need for the Moderator function! (Muaz may not be aware of this)

Please remove the Moderator functionality, and verify that the Broadcaster works.

rayj00 commented 7 years ago

After thinking about this, the Moderator in reality seems to actually be the main broadcaster, since nothing else can take place without him/her. So I recommend changing the "Moderator" indicators, text, code, etc. to Main Broadcaster. Or just change the HTML button to Main Broadcaster? Does that make sense?