ortc-adapter
ortc-adapter copied to clipboard
return expects an object?
In ortc-adapter.js setRemoteDescription, there's a line that says return void onFailure(invalidSignalingState(this.signalingState));
Should it be onFailure(invalidSignalingState(this.signalingState)); return;
instead?
@WieserSoftwareLtd this was an experiment in JavaScript style and an attempt to appease ESLint, but I agree it is a little weird to read—it may be worth rewriting in a future release.