shell-mirror
Version:
Access your Mac shell from any device securely. Perfect for mobile coding with Claude Code CLI, Gemini CLI, and any shell tool.
29 lines (26 loc) • 533 B
JavaScript
;
function RTCIceCandidate(candidateInitDict) {
[
'candidate',
'sdpMid',
'sdpMLineIndex',
'foundation',
'component',
'priority',
'address',
'protocol',
'port',
'type',
'tcpType',
'relatedAddress',
'relatedPort',
'usernameFragment'
].forEach(property => {
if (candidateInitDict && property in candidateInitDict) {
this[property] = candidateInitDict[property];
} else {
this[property] = null;
}
});
}
module.exports = RTCIceCandidate;