WebRTC-Scalable-Broadcast icon indicating copy to clipboard operation
WebRTC-Scalable-Broadcast copied to clipboard

Multiple Broadcast Froze

Open rayj00 opened this issue 8 years ago • 7 comments

I just started to look at WebRTC-Scalable-Broadcast. Initially I was skeptical of the concept but after thinking about it I figured I'd give it a try.

So I had the originator and 4 viewers up on my local LAN. Everything looked good. Lag was minimal. However, after 10 minutes or so, all video froze. I have no idea why? I was browsing the internet for other reason and left the broadcast up. Where is the log file for this feature?

Oh, one more thing, once this happened, the camera light is still on. After doing another node server.js, nothing happens with the camera when I browse to IP:8888?

PS: I am very impressed with your work Muaz. Thanks, Ray

rayj00 avatar May 14 '16 16:05 rayj00

I just tested 15 minutes broadcast here:

  • https://rtcmulticonnection.herokuapp.com/demos/Scalable-Broadcast.html

I created 6 receiver tabs on both MacOSX and WIn7. Both were using same internet modem (DSL/broadband).

It worked smoothly without any lag or freeze.

muaz-khan avatar May 14 '16 18:05 muaz-khan

Where are the log files?

rayj00 avatar May 14 '16 18:05 rayj00

I have been playing with Kurento lately, especially their 1 to Many. But it can only handle so many before the video degrades. That's why I am looking at yours. I am using VirtualBox. I have Ubuntu Server 14.04.4. It is funny but I am seeing the same problem with yours that I see with Kurento. The app gets screwed up and will not grab the camera anymore. I reboot the server but that does not fix the problem. I have to totally shut down the VBox guest then reboot my host. Then restart everything and it is fine.

So now I have restarted everything and I have 8 receiver tabs opened with very little lag. This is using Firefox. I will time it and see if and when it freezes.

I also tried adding more using Chrome but I get the attached error. chrome scalable bcast

Also, where are the log files?

Thanks,

Ray

rayj00 avatar May 14 '16 19:05 rayj00

RTCMultiConnection doesn't (currently) creates any log file on nodejs end. However this option will be added soon in v3.

RTCMultiConnection client-code (javascript-browser-code) always logs in the chrome console.

You can NOT capture single camera from both Chrome and Firefox at the same time.

Please open this (chrome://settings/contentExceptions#media-stream-camera) and make sure that your domain is allowed for camera access.

muaz-khan avatar May 15 '16 04:05 muaz-khan

I restart my computer. Chrome will not grab the camera. I get the same output in my previous post. I reset the Chrome to defaults. Still not grabbing camera. How to debug this?

rayj00 avatar May 15 '16 21:05 rayj00

Maybe you should force default devices:

// pass second parameter to force options
var connection = new RTCMultiConnection(null, {
    useDefaultDevices: true
});

muaz-khan avatar May 16 '16 04:05 muaz-khan

Hi Muaz

You need to change the utility’s Label. Change your button label to Start Recording.

[cid:[email protected]]

The term “Sharing” Is NOT applicable. Also what you you wish to pause and resume recording?

[cid:[email protected]] Cheers

AM

From: Muaz Khan [mailto:[email protected]] Sent: Monday, May 16, 2016 12:01 AM To: muaz-khan/WebRTC-Scalable-Broadcast [email protected] Subject: Re: [muaz-khan/WebRTC-Scalable-Broadcast] Multiple Broadcast Froze (#23)

Maybe you should force default deviceshttps://github.com/muaz-khan/RTCMultiConnection#default-devices:

// pass second parameter to force options

var connection = new RTCMultiConnection(null, {

useDefaultDevices: true

});

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHubhttps://github.com/muaz-khan/WebRTC-Scalable-Broadcast/issues/23#issuecomment-219344069

netstairs avatar May 16 '16 11:05 netstairs