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

High memory and cpu utilization while using webtrc -everywhere plugin in IE browser #28

Closed
ANANDHAKUMARS opened this issue May 26, 2015 · 5 comments

Comments

@ANANDHAKUMARS
Copy link

We were using webtrc everywhere plugin in peer connection for our project. it is working fine upto 2 streams. while it exceeds 2 streams, CPU and memory utilization reaching its maximum point and the IE browser got crashed and system got hanged. Can you please throw in some light to solve this issue?

screenshot 6

@sarandogou
Copy link
Owner

What about the same scenario with Chrome?
Do you have sample JS code we can use to test?

@ANANDHAKUMARS
Copy link
Author

No issues with chrome. Its working fine with same number of streams. In case of IE, it getting crashed.

if(getBrowser() === 'ieAndSafari') {
webrtcPlugin(); //Contains adapter.js code
}

This is how we are finding the browser and loading the plug-in at the window loading.

At a certain step, we are calling
navigator.getUserMedia(constraints, successCallBack, errorCallBack)

For peer connection,
peerConnection = new RTCPeerConnection(pc_config, con);

When peer connection starts increasing, CPU usage gets high stably. After reaching 7 streams, CPU usage rises to 100% and system gets crashed.

For reference, we have tried the multipeerconnection from github. it is also giving the same issue.

screenshot 7

@sarandogou
Copy link
Owner

@sarandogou
Copy link
Owner

Will be fixed in the next release.

@sarandogou
Copy link
Owner

Closed by release 2.0.0

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