-
-
Save kypflug/81832f104721c0a21503 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var iceOptions = new RTCIceGatherOptions; | |
iceOptions.gatherPolicy = "all"; | |
iceOptions.iceservers = ... ; | |
var iceGathr = new RTCIceGatherer(iceOptions); | |
iceGathr.onlocalcandidate = function(evt) { | |
mySignaller.signalMessage({ | |
"candidate": evt.candidate | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Even though it works either way, please, append parentheses -
From -
var iceOptions = new RTCIceGatherOptions;
To -
var iceOptions = new RTCIceGatherOptions();