Files
Testing/videocall1/getStats/dev/parameters.js
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

14 lines
331 B
JavaScript

var peer = this;
if (!(arguments[0] instanceof RTCPeerConnection)) {
throw '1st argument is not instance of RTCPeerConnection.';
}
peer = arguments[0];
if (arguments[1] instanceof MediaStreamTrack) {
mediaStreamTrack = arguments[1]; // redundant on non-safari
callback = arguments[2];
interval = arguments[3];
}