{"_id":"@cubicleai/wrtc","_rev":"8-23da1b8cb75437ef48d6772764a4804b","name":"@cubicleai/wrtc","dist-tags":{"latest":"0.7.0"},"versions":{"0.6.0":{"name":"@cubicleai/wrtc","version":"0.6.0","keywords":["webrtc","p2p","peer"],"author":{"url":"http://blog.modeswitch.org","name":"Alan K","email":"ack@modeswitch.org"},"license":"BSD-2-Clause","_id":"@cubicleai/wrtc@0.6.0","maintainers":[{"name":"tobytailor","email":"schneider@jancona.com"}],"contributors":[{"url":"https://astronautlabs.com/","name":"Astronaut Labs"},{"url":"https://cubicle.ai","name":"Cubicle, Inc."}],"homepage":"https://github.com/cubicleai/wrtc","bugs":{"url":"https://github.com/cubicleai/wrtc/issues"},"dist":{"shasum":"59517822d20afe239501e3f11205ce2f28fb92d3","tarball":"https://registry.npmjs.org/@cubicleai/wrtc/-/wrtc-0.6.0.tgz","fileCount":480,"integrity":"sha512-NPHOu91Djz3SoyrzLSYXAKnB/0mqqFNL7489HOCXM/wRAgefSrRBWWCS15ITn0va0GvunNWktCq4h+a8NsmSHg==","signatures":[{"sig":"MEYCIQDlHex4hMGa+PBBLwaB5hU5UHbDk0WSr+H/0LOwoAV7xAIhANhlEHiBQ1RUiiSiTOoYLTuHPx7lCoSBZS/ABFodqpLG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21437349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjS65SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsuA//UpWhvoeXmaTGVAbNvn8tk3kCgg4/FIa4XF6MgeGSH/30+Kl4\r\nJjEXcLKfEWdakw6KnBI1RChaODgMU5stfxT0YEmxp/uu8RB7VEagc8AT0s8X\r\nmZ9K8WaLPJIcAewng0AvZaMbfGeRuuSuwvr7REC+S8cyM36EBKdHNZoRfIyd\r\nj9GiKIyolAuatmuSi67sqpHGu8TP8CU6GmfbUKkl6+anWoeICLo30UIEFgEr\r\n4VfogWxNlZR8aJgVAmCWMYqQV/wOjluSzxgN2LAxaSo+Eosd2IA9aEWKj7JN\r\ns+iWUl7VVp+tUgu0oLphU6LqY9V2U/XEHFgLPfKbQk2MXp9TWTctjYnmnEic\r\njOiIdSHUB+NYnbFCfPhEGin36o2dLcdcRGwVGf3RwElxfKID5Rqln73ervZ+\r\nyB3d/SuBonsWgpjYidwm6SswwdHSJyJ8k+OceEG848dPVxdpmX274h5/D4eK\r\n4ROSgYzK2b/Gy7fgUV+XJUfyC91Yovtyae5BjentYvheRcEfTMUoH8Pgx+7k\r\nraN1GZ2Zbco4W9xHsFvgDA6Jmm2qCDPdtNFTDT+6I8mZdaA7sKffxPY7Zajx\r\nxI6AD497b2B5E9xA4MTAZb7+M9CdFhl08GHUbDGchbE9ntJhpjDnBazrnPuN\r\n6bYsFYLhALBU9vw3hYLlqZYawYn+xyZ1pnA=\r\n=e9Zc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/nodejs/index.js","twine":{"moduleName":"wrtc","distributionUrl":"https://wrtc.s3.amazonaws.com"},"types":"./dist/nodejs/index.d.ts","browser":"dist/browser/index.js","engines":{"node":"^14.0.0 || ^16.0.0 || ^18.0.0 || ^19.0.0"},"gitHead":"3cbe4a7968755cd9aa353dca80e000f5341f18eb","scripts":{"lint":"eslint lib/*.js lib/**/*.js test/*.js test/**/*.js karma/*.js scripts/*.js","test":"npm run build && node --expose-gc --enable-source-maps dist/nodejs/test/test.js","build":"tsc -b","clean":"ncmake clean","install":"twine install","test:cpp":"npm run build && node --expose-gc --enable-source-maps dist/nodejs/test/cpp-test.js","test:gdb":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/test.js","wpt:init":"git submodule update --init --recursive","wpt:test":"npm run build && node dist/nodejs/test/web-platform-tests/run-wpts.js","configure":"ncmake configure","test:vgdb":"npm run build && cd build/external/libwebrtc/build/Debug && vgdb --args node ../../../../../dist/nodejs/test/test.js","wpt:reset":"rimraf ./web-platform-tests && npm run wpt:init","test:debug":"npm run build && node --expose-gc --enable-source-maps --trace-exit --inspect-brk dist/nodejs/test/test.js --verbose","wpt:update":"git submodule update --recursive --remote --force && cd web-platform-tests && python wpt.py manifest --path ../lib/nodejs/test/web-platform-tests/wpt-manifest.json","build:native":"node scripts/build-from-source.js","test:verbose":"npm run build && node --expose-gc --enable-source-maps --trace-exit dist/nodejs/test/test.js --verbose","wpt:test:gdb":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/web-platform-tests/run-wpts.js","test:browsers":"cross-env BROWSER=chrome node scripts/karma.js && cross-env BROWSER=firefox node scripts/karma.js","test:electron":"electron test/electron","publish:binary":"twine publish","wpt:test:debug":"npm run build && node --inspect-brk dist/nodejs/test/web-platform-tests/run-wpts.js","configure:debug":"ncmake configure --debug","install-example":"node scripts/install-example.js","test:gdb:verbose":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/test.js --verbose","test:debug:native":"npm run build && node --expose-gc --enable-source-maps --trace-exit dist/nodejs/test/test.js --verbose --native-debug","build:native:debug":"npm run configure:debug && ncmake build --debug -j 12","build:native:release":"npm run configure && ncmake build -j 12","wpt:test:debug:native":"npm run build && node dist/nodejs/test/web-platform-tests/run-wpts.js --native-debug"},"_npmUser":{"name":"tobytailor","email":"schneider@jancona.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/cubicleai/wrtc.git","type":"git"},"_npmVersion":"8.5.5","description":"Standards-compliant WebRTC implementation for Node","directories":{},"_nodeVersion":"16.15.0","dependencies":{"nan":"^2.3.2","bindings":"^1.5.0","node-cmake":"2.3.2","domexception":"^1.0.1","@cubicleai/yuv":"^0.2.0","node-addon-api":"^5.0.0","segfault-handler":"^1.3.0","@astronautlabs/twine":"^1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"q":"^1.5.1","ws":"^5.2.0","chai":"^4.3.6","tape":"^4.9.1","temp":"^0.9.0","jsdom":"^16.5.0","karma":"^6.3.16","mocha":"^5.2.0","which":"^2.0.2","dotenv":"^16.0.1","eslint":"^4.14.0","razmin":"^1.2.0","rimraf":"^2.6.2","semver":"^5.5.0","aws-sdk":"^2.2.10","express":"^4.16.2","js-yaml":"^3.13.0","request":"^2.88.0","zone.js":"^0.11.8","minimist":"1.2.6","tap-spec":"^5.0.0","cross-env":"^5.1.4","karma-tap":"^4.1.4","minimatch":"^3.0.4","@fidm/x509":"^1.2.1","node-fetch":"^2.5.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.3","simple-peer":"~9.7.0","@types/which":"^2.0.1","recursive-copy":"^2.0.10","server-destroy":"^1.0.1","karma-browserify":"^5.1.2","mocha-sugar-free":"^1.4.0","@types/simple-peer":"^9.11.4","browserify-middleware":"^8.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","request-promise-native":"^1.0.5","karma-tap-pretty-reporter":"^4.1.0"},"optionalDependencies":{"domexception":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wrtc_0.6.0_1665904209994_0.341626378037291","host":"s3://npm-registry-packages"}},"0.6.1":{"name":"@cubicleai/wrtc","version":"0.6.1","keywords":["webrtc","p2p","peer"],"author":{"url":"http://blog.modeswitch.org","name":"Alan K","email":"ack@modeswitch.org"},"license":"BSD-2-Clause","_id":"@cubicleai/wrtc@0.6.1","maintainers":[{"name":"tobytailor","email":"schneider@jancona.com"}],"contributors":[{"url":"https://astronautlabs.com/","name":"Astronaut Labs"},{"url":"https://cubicle.ai","name":"Cubicle, Inc."}],"homepage":"https://github.com/cubicleai/wrtc","bugs":{"url":"https://github.com/cubicleai/wrtc/issues"},"dist":{"shasum":"76fa1010805cdde948498827e13b201cb2bdb7a1","tarball":"https://registry.npmjs.org/@cubicleai/wrtc/-/wrtc-0.6.1.tgz","fileCount":320,"integrity":"sha512-4t7YHXBN0H26jyt77CED50IEMOyjc+jKxkuo1KoH8zKWVzxVBoEspA9ZtITe/oWDD9uDirUptB0sYXB4wT8Igw==","signatures":[{"sig":"MEUCIQCW39ATSLPrOztQb2qFGIUrXn7gtFpO3Msx845yih177wIgF0UsuPKK3lOVPOFd2Er4XdDCXda9lC6vJyQBaFlbLCE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":669713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTO53ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhOw//UIsoAltLS7yR2YIhQytcaM4usfGQGweQ7BJbtTxwax6/9z9H\r\n6rUTcEJJj9YhIRXD03apR5Dzz9z9BuR+HUmE+n+hooLqIzZgDEIEqZjKuMMD\r\nEIwVedYvguOve5Hrbx6ptHnNpzVyAmg4YezJX2wdgqUa7th7MCsabP3Sy5jp\r\neKDR8M4Dvi2xSk+P6Zhm3YgG1Zhm7JJd/dFaEBA6SC/WpP75mjCxo0bp9fxg\r\nxe7ssm/7eeFYoUdDIGkdlPja2+WrT7MeOnzs2W+rCTSLGV/FaCHf+bvbO+fk\r\nAWiqGUPYrMhW4cfai4n1yXs25yEtEbG8bwrsk3lDWlrwssliwkDdfPYkS+ia\r\nBrwLmlUKSR5+xC+I1ImoNOvzGOnxAHB2d+bw998xiJmbheuWQhPs8/90kjjj\r\nCBxZQKtRUopcMItngsFB/MTcrf0V2Xq+sd9f9OihtShzCP2Qsc3v5q7QcDx5\r\nVLmFOO16FVvY6BoldQwjwSu3YEsErSa74lOOAeL5ip56QxpZ+JUwpL0zTzaK\r\ngP/eIAnrD0RYRyovGWAY6NTia090wm5+OyTiYxq0OfukjOCXzEx+KIGLe5c2\r\nFHPxW4YMsigBbmjNI8tgQ37R0lXRnNl3haeXPbE4UBcBDzfS7LqXF0ZjfkL6\r\n2mc9ncPx1JO5KNzOD+9kwZxf8pdmoylqTS4=\r\n=VBgi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/nodejs/index.js","twine":{"moduleName":"wrtc","distributionUrl":"https://wrtc.s3.amazonaws.com"},"browser":"dist/browser/index.js","engines":{"node":"^14.0.0 || ^16.0.0 || ^18.0.0 || ^19.0.0"},"gitHead":"af3d5dc434c778a7304ab78e304a9fcc76695d82","scripts":{"lint":"eslint lib/*.js lib/**/*.js test/*.js test/**/*.js karma/*.js scripts/*.js","test":"npm run build && node --expose-gc --enable-source-maps dist/nodejs/test/test.js","build":"tsc -b","clean":"ncmake clean","install":"twine install","test:cpp":"npm run build && node --expose-gc --enable-source-maps dist/nodejs/test/cpp-test.js","test:gdb":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/test.js","wpt:init":"git submodule update --init --recursive","wpt:test":"npm run build && node dist/nodejs/test/web-platform-tests/run-wpts.js","configure":"ncmake configure","test:vgdb":"npm run build && cd build/external/libwebrtc/build/Debug && vgdb --args node ../../../../../dist/nodejs/test/test.js","wpt:reset":"rimraf ./web-platform-tests && npm run wpt:init","test:debug":"npm run build && node --expose-gc --enable-source-maps --trace-exit --inspect-brk dist/nodejs/test/test.js --verbose","wpt:update":"git submodule update --recursive --remote --force && cd web-platform-tests && python wpt.py manifest --path ../lib/nodejs/test/web-platform-tests/wpt-manifest.json","build:native":"node scripts/build-from-source.js","test:verbose":"npm run build && node --expose-gc --enable-source-maps --trace-exit dist/nodejs/test/test.js --verbose","wpt:test:gdb":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/web-platform-tests/run-wpts.js","test:browsers":"cross-env BROWSER=chrome node scripts/karma.js && cross-env BROWSER=firefox node scripts/karma.js","test:electron":"electron test/electron","publish:binary":"twine publish","wpt:test:debug":"npm run build && node --inspect-brk dist/nodejs/test/web-platform-tests/run-wpts.js","configure:debug":"ncmake configure --debug","install-example":"node scripts/install-example.js","test:gdb:verbose":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/test.js --verbose","test:debug:native":"npm run build && node --expose-gc --enable-source-maps --trace-exit dist/nodejs/test/test.js --verbose --native-debug","build:native:debug":"npm run configure:debug && ncmake build --debug -j 12","build:native:release":"npm run configure && ncmake build -j 12","wpt:test:debug:native":"npm run build && node dist/nodejs/test/web-platform-tests/run-wpts.js --native-debug"},"_npmUser":{"name":"tobytailor","email":"schneider@jancona.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/cubicleai/wrtc.git","type":"git"},"_npmVersion":"6.14.17","description":"Standards-compliant WebRTC implementation for Node","directories":{},"_nodeVersion":"14.20.1","dependencies":{"nan":"^2.3.2","bindings":"^1.5.0","node-cmake":"2.3.2","domexception":"^1.0.1","node-addon-api":"^5.0.0","@astronautlabs/twine":"^1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"q":"^1.5.1","ws":"^5.2.0","chai":"^4.3.6","tape":"^4.9.1","temp":"^0.9.0","jsdom":"^16.5.0","karma":"^6.3.16","mocha":"^5.2.0","which":"^2.0.2","dotenv":"^16.0.1","eslint":"^4.14.0","razmin":"^1.2.0","rimraf":"^2.6.2","semver":"^5.5.0","aws-sdk":"^2.2.10","express":"^4.16.2","js-yaml":"^3.13.0","request":"^2.88.0","zone.js":"^0.11.8","minimist":"1.2.6","tap-spec":"^5.0.0","cross-env":"^5.1.4","karma-tap":"^4.1.4","minimatch":"^3.0.4","@fidm/x509":"^1.2.1","node-fetch":"^2.5.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.3","simple-peer":"~9.7.0","@types/which":"^2.0.1","@cubicleai/yuv":"^0.2.0","recursive-copy":"^2.0.10","server-destroy":"^1.0.1","karma-browserify":"^5.1.2","mocha-sugar-free":"^1.4.0","segfault-handler":"^1.3.0","@types/simple-peer":"^9.11.4","browserify-middleware":"^8.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","request-promise-native":"^1.0.5","karma-tap-pretty-reporter":"^4.1.0"},"optionalDependencies":{"domexception":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wrtc_0.6.1_1665986167187_0.10705815598317847","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"@cubicleai/wrtc","version":"0.7.0","keywords":["webrtc","p2p","peer"],"author":{"url":"http://blog.modeswitch.org","name":"Alan K","email":"ack@modeswitch.org"},"license":"BSD-2-Clause","_id":"@cubicleai/wrtc@0.7.0","maintainers":[{"name":"tobitailor","email":"tobitailor84@gmail.com"}],"contributors":[{"url":"https://astronautlabs.com/","name":"Astronaut Labs"},{"url":"https://cubicle.ai","name":"Cubicle, Inc."}],"homepage":"https://github.com/cubicleai/wrtc","bugs":{"url":"https://github.com/cubicleai/wrtc/issues"},"dist":{"shasum":"2f95dfc5031a3fb94a1cbe31168b212d1e4ef98d","tarball":"https://registry.npmjs.org/@cubicleai/wrtc/-/wrtc-0.7.0.tgz","fileCount":302,"integrity":"sha512-Vm88oTDc1Sz1U0XoZEwwurE/f75J5lAfjM7DGUwZ6C4HM64Wlx1X+j1ozRFzFuJMd5lwT1aazQD/3wtjVjWVtg==","signatures":[{"sig":"MEUCIAQdMU2o+OhAM6qWv93UykgNPmQYUhf0oaSHqX8yI74IAiEA3ccdMUvkgkjw0TpyzvXk6b7mX8gvlJdZKa3iT4+3wVw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":631634},"main":"dist/nodejs/index.js","twine":{"moduleName":"wrtc","distributionUrl":"https://wrtc.s3.amazonaws.com"},"types":"./dist/nodejs/index.d.ts","browser":"dist/browser/index.js","engines":{"node":"^14.0.0 || ^16.0.0 || ^18.0.0 || ^19.0.0"},"gitHead":"9722c740adcfd2b4fa69e4d415c8f6fa116980f6","scripts":{"lint":"eslint lib/*.js lib/**/*.js test/*.js test/**/*.js karma/*.js scripts/*.js","test":"npm run build && node --expose-gc --enable-source-maps dist/nodejs/test/test.js","build":"tsc -b","clean":"ncmake clean","install":"twine install","test:cpp":"npm run build && node --expose-gc --enable-source-maps dist/nodejs/test/cpp-test.js","test:gdb":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/test.js","wpt:init":"git submodule update --init --recursive","wpt:test":"npm run build && node dist/nodejs/test/web-platform-tests/run-wpts.js","configure":"ncmake configure","test:vgdb":"npm run build && cd build/external/libwebrtc/build/Debug && vgdb --args node ../../../../../dist/nodejs/test/test.js","wpt:reset":"rimraf ./web-platform-tests && npm run wpt:init","test:debug":"npm run build && node --expose-gc --enable-source-maps --trace-exit --inspect-brk dist/nodejs/test/test.js --verbose","wpt:update":"git submodule update --recursive --remote --force && cd web-platform-tests && python wpt.py manifest --path ../lib/nodejs/test/web-platform-tests/wpt-manifest.json","build:native":"node scripts/build-from-source.js","test:verbose":"npm run build && node --expose-gc --enable-source-maps --trace-exit dist/nodejs/test/test.js --verbose","wpt:test:gdb":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/web-platform-tests/run-wpts.js","test:browsers":"cross-env BROWSER=chrome node scripts/karma.js && cross-env BROWSER=firefox node scripts/karma.js","test:electron":"electron test/electron","publish:binary":"twine publish","wpt:test:debug":"npm run build && node --inspect-brk dist/nodejs/test/web-platform-tests/run-wpts.js","configure:debug":"ncmake configure --debug","install-example":"node scripts/install-example.js","test:gdb:verbose":"npm run build && cd build/external/libwebrtc/build/Debug && gdb --args node ../../../../../dist/nodejs/test/test.js --verbose","test:debug:native":"npm run build && node --expose-gc --enable-source-maps --trace-exit dist/nodejs/test/test.js --verbose --native-debug","build:native:debug":"npm run configure:debug && ncmake build --debug -j 12","build:native:release":"npm run configure && ncmake build -j 12","wpt:test:debug:native":"npm run build && node dist/nodejs/test/web-platform-tests/run-wpts.js --native-debug"},"_npmUser":{"name":"tobitailor","email":"tobitailor84@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/cubicleai/wrtc.git","type":"git"},"_npmVersion":"10.7.0","description":"Standards-compliant WebRTC implementation for Node","directories":{},"_nodeVersion":"18.20.3","dependencies":{"nan":"^2.3.2","bindings":"^1.5.0","node-cmake":"2.3.2","node-addon-api":"^5.0.0","@astronautlabs/twine":"^1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"q":"^1.5.1","ws":"^5.2.0","chai":"^4.3.6","tape":"^4.9.1","temp":"^0.9.0","jsdom":"^16.5.0","karma":"^6.3.16","mocha":"^5.2.0","which":"^2.0.2","dotenv":"^16.0.1","eslint":"^4.14.0","razmin":"^1.2.0","rimraf":"^2.6.2","semver":"^5.5.0","aws-sdk":"^2.2.10","express":"^4.16.2","js-yaml":"^3.13.0","request":"^2.88.0","zone.js":"^0.11.8","minimist":"1.2.6","tap-spec":"^5.0.0","cross-env":"^5.1.4","karma-tap":"^4.1.4","minimatch":"^3.0.4","@fidm/x509":"^1.2.1","node-fetch":"^2.5.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.3","simple-peer":"~9.7.0","@types/which":"^2.0.1","@cubicleai/yuv":"^0.2.0","recursive-copy":"^2.0.10","server-destroy":"^1.0.1","karma-browserify":"^5.1.2","mocha-sugar-free":"^1.4.0","segfault-handler":"^1.3.0","@types/simple-peer":"^9.11.4","browserify-middleware":"^8.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","request-promise-native":"^1.0.5","karma-tap-pretty-reporter":"^4.1.0"},"optionalDependencies":{"domexception":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wrtc_0.7.0_1717565384801_0.7011607814767615","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-10-16T07:10:09.922Z","modified":"2026-09-24T16:37:27.833Z","0.6.0":"2022-10-16T07:10:10.322Z","0.6.1":"2022-10-17T05:56:07.404Z","0.7.0":"2024-06-05T05:29:45.015Z"},"bugs":{"url":"https://github.com/cubicleai/wrtc/issues"},"author":{"url":"http://blog.modeswitch.org","name":"Alan K","email":"ack@modeswitch.org"},"license":"BSD-2-Clause","homepage":"https://github.com/cubicleai/wrtc","keywords":["webrtc","p2p","peer"],"repository":{"url":"git+https://github.com/cubicleai/wrtc.git","type":"git"},"description":"Standards-compliant WebRTC implementation for Node","contributors":[{"url":"https://astronautlabs.com/","name":"Astronaut Labs"},{"url":"https://cubicle.ai","name":"Cubicle, Inc."}],"maintainers":[{"email":"support@npmjs.com","name":"npm-support"}],"readme":"# @cubicleai/wrtc\n\n[![NPM](https://img.shields.io/npm/v/@cubicleai/wrtc.svg)](https://www.npmjs.com/package/@cubicleai/wrtc)\n\nNode.js bindings for `libwebrtc`, which implements [WebRTC M96](https://groups.google.com/g/discuss-webrtc/c/Bp8OzBzipSc/m/0AC4OGhdAgAJ). This project aims for spec-compliance and is tested using the W3C's [web-platform-tests](https://github.com/web-platform-tests/wpt) project. A number of [nonstandard APIs](docs/nonstandard-apis.md) for testing are also included.\n\n# Install\n\n```\nnpm install @cubicleai/wrtc\n```\n\nInstalling from NPM downloads a prebuilt binary for your operating system × architecture. Set the `TARGET_ARCH` environment variable to \"arm\" or \"arm64\" to download for armv7l or arm64, respectively. Linux and macOS users can also set the `DEBUG` environment variable to download debug builds.\n\nYou can also [build from source](docs/build-from-source.md).\n\n# Supported Platforms\n\nWe intend to officially support\n- the latest 3 stable versions of Node.js \n- the latest 3 stable releases of Electron \n\nFor the following platforms:\n- Linux\n- macOS\n- Windows\n\nOn the following architectures:\n- x64\n- arm64\n- armv7l \n\nBuild validation is not yet in place for all of these platforms. \n\nThe following platforms are confirmed to work with `@cubicleai/wrtc`. Some may have prebuilt binaries available. Since we target [N-API version 3](https://nodejs.org/api/n-api.html), there may be additional platforms supported that are not listed here. If your platform is not supported, you may still be able to [build from source](docs/build-from-source.md).\n\nThe table below maps our support intentions to which configurations have been validated.\n<table>\n  <thead>\n    <tr>\n      <td style=\"text-align: center;\" colspan=\"2\" rowspan=\"2\"></td>\n      <th style=\"text-align: center;\" colspan=\"3\">Linux</th>\n      <th style=\"text-align: center;\" colspan=\"2\">macOS</th>\n      <th style=\"text-align: center;\">Windows</th>\n    </tr>\n    <tr>\n      <th style=\"text-align: center;\">armv7l</th>\n      <th style=\"text-align: center;\">arm64</th>\n      <th style=\"text-align: center;\">x64</th>\n      <th style=\"text-align: center;\">x64</th>\n      <th style=\"text-align: center;\">arm64</th>\n      <th style=\"text-align: center;\">x64</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th rowspan=\"3\">Node.js</th>\n      <th>14</th>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\">✓</td>\n      <td align=\"center\"></td>\n      <td align=\"center\">✓</td>\n      <td align=\"center\">✓</td>\n    </tr>\n    <tr>\n      <th>16</th>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\">✓</td>\n      <td align=\"center\"></td>\n      <td align=\"center\">✓</td>\n      <td align=\"center\">✓</td>\n    </tr>\n    <tr>\n      <th>18</th>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\">✓</td>\n      <td align=\"center\"></td>\n      <td align=\"center\">✓</td>\n      <td align=\"center\">✓</td>\n    </tr>\n    <tr>\n      <th rowspan=\"3\">Electron</th>\n      <th>18</th>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n    </tr>\n    <tr>\n      <th>19</th>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n    </tr>\n    <tr>\n      <th>20</th>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n      <td align=\"center\"></td>\n    </tr>\n  </tbody>\n</table>\n\n## Platform-specific details\n\n### Linux\n\nOther libwebrtc bindings use Google's in-tree `libc++` when targetting Linux. Due to compatibility issues, and to reduce the need for multiple C++ standard libraries to be loaded within a single application when using `@cubicleai/wrtc` in concert with other native add-ons, we have opted to use the system's `libstdc++` instead. This does mean that you will need a compatible version of `libstdc++` installed when you use the prebuilt versions of the library. If the prebuilt versions give you runtime link errors related to missing versions of `libstdc++`, either install the correct version or use `SKIP_DOWNLOAD=true` when running `npm install` to build from source instead.\n\n# Examples\n\nSee [cubicleai/webrtc-examples](https://github.com/cubicleai/webrtc-examples).\n\n# Development\n\nMake sure to check the platform-specific sections below for important information.\n\nTo set up a working copy for development:\n\n## Linux/Mac\n\nPre-steps\n- Install `python3`, C/C++ toolchain (ie `build-essential`), `cmake`\n\n```shell\nexport SKIP_DOWNLOAD=true   # Important to skip fetching a prebuilt version from CDN\nexport DEBUG=1\nexport PARALLELISM=24       # Set to number of logical cores on your machine\n\n# Initial install will build libwebrtc\n# Get a coffee.\n\nnpm install\n```\n\n## Windows\n\nPre-steps:\n- Install python3\n- Make sure long path support is enabled\n    - Set `HKLM\\SYSTEM\\CurrentControlSet\\Control\\FileSystem\\LongPathsEnable` to `1`\n    - `git config --global core.longpaths true`\n    - `git config core.longpaths true`\n- Install VS 2019 (not just the VS 2019 build tools from a newer VS release like 2022)\n    - `libwebrtc` is the limiting factor here\n- Install Windows 10 SDK v10.0.19041.0\n    * Use the Windows SDK installer, make sure to include the required Debugging Tools for Windows\n    * (!!) Do not use the Visual Studio installer, if you have previously installed this SDK via Visual Studio Installer, \n      you must first remove it and install using the Windows SDK installer instead. If you use this, the build will fail\n      on requirement of Windows SDK 10.0.19041.0\n\nInitial build\n\n```powershell\n$env:SKIP_DOWNLOAD = 'true'   # Important to skip fetching a prebuilt version from CDN\n$env:DEBUG = '1'\n$env:PARALLELISM = '24'       # set to number of logical cores\n\n# Initial install will build libwebrtc\n# Get a coffee.\n\nnpm install\n```\n\n# Required Reading\n\nReferences\n- [RTP: A Transport Protocol for Real-Time Applications](https://datatracker.ietf.org/doc/html/rfc3550) (IETF RFC 3550)\n- [Unified Plan](https://datatracker.ietf.org/doc/html/draft-roach-mmusic-unified-plan-00#section-2)\n- [Plan B](https://datatracker.ietf.org/doc/html/draft-uberti-rtcweb-plan-00)\n- [RTCRtpTransceiver](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver) (MDN)\n- [Negotiating Media Multiplexing Using the Session Description Protocol](https://datatracker.ietf.org/doc/html/draft-ietf-mmusic-sdp-bundle-negotiation-54#section-18) (\"BUNDLE\" IETF I-D)\n\nEditorial\n- [The evolution of WebRTC 1.0.](https://blog.mozilla.org/webrtc/the-evolution-of-webrtc/) (Mozilla)\n- [Exploring RTCRtpTransceiver.](https://blog.mozilla.org/webrtc/rtcrtptransceiver-explored/) (Mozilla)\n- [Webrtc with transceivers](https://niccoloterreri.com/webrtc-with-transceivers) (nterreri)","readmeFilename":"README.md"}