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

onicecandidate fires on pc.close #624

Closed
arlolra opened this issue May 7, 2020 · 1 comment
Closed

onicecandidate fires on pc.close #624

arlolra opened this issue May 7, 2020 · 1 comment

Comments

Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
@arlolra
Copy link
Contributor

@arlolra arlolra commented May 7, 2020

var wrtc = require('wrtc');

var RTCPeerConnection = wrtc.RTCPeerConnection;

var pc = new RTCPeerConnection({
	iceServers: [{ urls: ['stun:stun.l.google.com:19302'] }]
});

pc.onicecandidate = function (evt) {
	console.log(evt);
};

pc.close();

This doesn't seem to happen browsers.

@markandrus markandrus added the bug label May 7, 2020
@markandrus
Copy link
Member

@markandrus markandrus commented May 7, 2020

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment