{"_id":"@8xff/atm0s-media-js","_rev":"25-2480e420f9ef746a99007d7d30f8bf42","name":"@8xff/atm0s-media-js","dist-tags":{"nightly":"0.1.3-nightly.20240524","latest":"0.1.3-alpha.9","alpha":"0.1.3-alpha.11"},"versions":{"0.1.0-nightly.20231130":{"name":"@8xff/atm0s-media-js","version":"0.1.0-nightly.20231130","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:nightly":"node ./scripts/configureNightly.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"gitHead":"38584c273419f3fd8c2a607f68aa5405d97cb43f","_id":"@8xff/atm0s-media-js@0.1.0-nightly.20231130","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-wbESJd2nZ2M53yL1XJScOVOk9a45N26I69mn3CKCAifxNIdbjyC/KQbSzwH1r7XofgT6sBv1SSAUiraxicdHAQ==","shasum":"4ea0554defbdd40257ec1e8a198a7f9371c7be3e","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.0-nightly.20231130.tgz","fileCount":89,"unpackedSize":6234976,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHE6U1Yy9u0RYByZkSzmb4wJFPFeGoZcprB49TRVrJRNAiEAq56fxYNKn6DKAvLyUF5D+IBItQ7lMKT17quxBTcHbfQ="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.0-nightly.20231130_1701331148166_0.983184497241683"},"_hasShrinkwrap":false},"0.1.1-alpha.0":{"name":"@8xff/atm0s-media-js","version":"0.1.1-alpha.0","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"gitHead":"7c165d5c07ebe14e10ad9dca6a738e8a82ab1f2d","_id":"@8xff/atm0s-media-js@0.1.1-alpha.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-0dhhDC7cMvbsln/+X/Y0v/YwR7uLJK5U56mhSxVOLfsgZSILqi5tTS0IN5vB8wD25xLQK83xEY21l59FSvLjew==","shasum":"5c1d722875bdda25558b93a6589b8733ac691d64","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.1-alpha.0.tgz","fileCount":89,"unpackedSize":6235666,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6mxBZAdbvprB1JIBm1i6jo9a3mhL3x5xtjiBKfx7R5AiEA5Oc4GrMdkDqjfDxYDTZKWzIGAs//dBiC/t8ViwA408A="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.1-alpha.0_1701337482931_0.7932001905616897"},"_hasShrinkwrap":false},"0.1.1-nightly.20231130":{"name":"@8xff/atm0s-media-js","version":"0.1.1-nightly.20231130","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","gitHead":"0fbae2d29eb6f2ea9080a53349f1e407e582388b","_id":"@8xff/atm0s-media-js@0.1.1-nightly.20231130","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-omNLCxCFvwW9keJKUgaCvitd83O2cYBosk2Hvlp6pMPE1fjWZpGAn6t9d2j6mAJlSxXun3QuscVEuZrRnB71FA==","shasum":"bddfba26fc499c70c65d5b0d2a1569ccb3403c1e","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.1-nightly.20231130.tgz","fileCount":89,"unpackedSize":6235896,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA71Zyz+3mi4BtKJIgpn2wFVnHPQndyLVzuEA4Z6M9pAIhAJ05X4L/HGNvWMqQPqU8eDny5cyn6tqaL2oCh65T4fqt"}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.1-nightly.20231130_1701339175708_0.15659183930541598"},"_hasShrinkwrap":false},"0.1.2-alpha.0":{"name":"@8xff/atm0s-media-js","version":"0.1.2-alpha.0","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"gitHead":"fecb63eecd26285e89ae7118269230bc3996e8fb","_id":"@8xff/atm0s-media-js@0.1.2-alpha.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-U1WbVHGwem/JYbGXXaWLvnnzShTjUkfFovvFsh3+4M9MN8B6B826PDqSDTU+atXjkLyT+QoLQqtzwAvV5kgb8A==","shasum":"ad631e7150b07e6565bd53fb2cae115d772752b9","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.2-alpha.0.tgz","fileCount":91,"unpackedSize":6503235,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjWimMplU2KjMWhCh2OulEkll4eIi8zBIOM/Boz3Y8HAiBfIn9/J3REf/xxyNziewoI3E+D/ACk91yUd5YjvugigQ=="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.2-alpha.0_1701763119583_0.5660892144633047"},"_hasShrinkwrap":false},"0.1.2-alpha.1":{"name":"@8xff/atm0s-media-js","version":"0.1.2-alpha.1","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"gitHead":"e0dfb5956404a326e9a379df2e830f82d01074c3","readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.2-alpha.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-cPk1j87uTGiTzXJj4E5VAQnecXJPOlbgEQ638ZT3VX0RioyKD2L+jHcDdw+K+6eN5WFpPi8N5+3BHQsILtFXnA==","shasum":"40260a9c846685faceb969dc9e48895fad667c6c","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.2-alpha.1.tgz","fileCount":93,"unpackedSize":6503993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNaKFOiDfCvg7DEI2SKdCDeNIUbCIk4Lk05wZabJedEAIgWZVXacKK4RoEfDR5mkTVI58IGL6gAV0wAahqO1D1yXo="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.2-alpha.1_1701943062868_0.1571754667367795"},"_hasShrinkwrap":false},"0.1.2-nightly.20231207":{"name":"@8xff/atm0s-media-js","version":"0.1.2-nightly.20231207","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","gitHead":"e0dfb5956404a326e9a379df2e830f82d01074c3","_id":"@8xff/atm0s-media-js@0.1.2-nightly.20231207","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-xayiXlpAlE5s714GYs5h/ueF38k5uuCCvcuYLVLcTDpkzSDb2PzG9EwlWedfLDJZGNXxVZsXYOYA9STbD03XUg==","shasum":"23897ba302e30cc3b400ae9f0841a185ca4f768b","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.2-nightly.20231207.tgz","fileCount":93,"unpackedSize":6504074,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnoQLQE+orjK+Z7IiyJmYWSlvlj9x5UQAn4tVUxkXHwgIhAOTSaGgGklXYZnaEAxDkwDsenVzXg+lzxlfjnk/Qnvh3"}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.2-nightly.20231207_1701943084410_0.8522814588555894"},"_hasShrinkwrap":false},"0.1.3-nightly.20231212":{"name":"@8xff/atm0s-media-js","version":"0.1.3-nightly.20231212","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","gitHead":"3dfe8759cd17e8970a102f35cdb03fdcfa2accd3","_id":"@8xff/atm0s-media-js@0.1.3-nightly.20231212","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-CYWt5a6s5AgiY0pQ/mMZ0JQgRhETzxJ8GzwxlsnneHMs5y9/nLlgKjCDDBr5vsoczXRoIR/GOfQq9/UaDn00XQ==","shasum":"4f629787ed738f1e19c36662204e974df3aa68a1","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-nightly.20231212.tgz","fileCount":93,"unpackedSize":6504960,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDHxDWjNIiMOQJjof01aO0OzYVFuAuOCdP1i963dUqT2AiB+8K/mx9D0D+3QJPZ2+5N6vOKgv1WUBLm5zIeKFjvnzQ=="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-nightly.20231212_1702366358759_0.6986511125751005"},"_hasShrinkwrap":false},"0.1.3-alpha.0":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.0","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"gitHead":"3dfe8759cd17e8970a102f35cdb03fdcfa2accd3","readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-alpha.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-oOCvmeATGoUeX2or815M3TE3XpVa3iig7uHbbOjzxYpZKKVcix0nIhAyIYbvxJ0QzVUWowIgod/L3nGvDAdzAg==","shasum":"be69f8685ba5474bb61587dbb62bb1aabc075857","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.0.tgz","fileCount":93,"unpackedSize":6504879,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhj4OKdExtYf2UL5h8Y/52WSFnN8U8MbFylNbZIhL4VAIhANpcmRKpXX6m2YGSQNRyWyyXv1sXnWRv4Vs3Cxpty/MA"}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.0_1702366456235_0.05461539049038122"},"_hasShrinkwrap":false},"0.1.3-nightly.20231213":{"name":"@8xff/atm0s-media-js","version":"0.1.3-nightly.20231213","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","prepublishOnly":"npm run doc && npm run lint && npm run test && npm run build","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","gitHead":"3dfe8759cd17e8970a102f35cdb03fdcfa2accd3","_id":"@8xff/atm0s-media-js@0.1.3-nightly.20231213","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Xt+pI7D/SbRDJBjiZtxIYj5kkbjDF24J4LWxa9jheFRqPS9qldqs8rkVxHWizL21svoJB4MDp+jjRGbg+Tejpw==","shasum":"153d3ce70f621413d0a1f24765dbb4f4af7549e9","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-nightly.20231213.tgz","fileCount":93,"unpackedSize":6504960,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiGtRQJoTXMz2N7wxPO8izxmJYl0pmn0p/WTGB7H6cSAiEAmYM5Im3N43Dp8itegcYZJpAadGQ90GC2TR89LyZEoPE="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-nightly.20231213_1702428236246_0.23842590936854013"},"_hasShrinkwrap":false},"0.1.3-alpha.3":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.3","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-alpha.3","_integrity":"sha512-g9sziJ8IT44iw02a/RT+zjAIzn6DCmSgvN9TJjITjLrFflx4UtOmbKv5iiNnbejzsSTP33wiGLi07T7Wsyki8w==","_resolved":"/tmp/6c1f1ab80d63eda092eacd78f18e2d85/8xff-atm0s-media-js-0.1.3-alpha.3.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.3.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-g9sziJ8IT44iw02a/RT+zjAIzn6DCmSgvN9TJjITjLrFflx4UtOmbKv5iiNnbejzsSTP33wiGLi07T7Wsyki8w==","shasum":"cb6f1f6b875d133b41540e359cfe3d656799910c","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.3.tgz","fileCount":89,"unpackedSize":6511213,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe4LyZVjMJnaR49Rz210LMLD+64aoPwGnSsR4/R5HwCgIgCjjwIy96oZZM1Oso/nWchZ3PGxFzF1Eltux9mjdY6Fw="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.3_1702452060031_0.7565188450150695"},"_hasShrinkwrap":false},"0.1.3-alpha.4":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.4","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-alpha.4","_integrity":"sha512-1Cp7KEV0e3yuBYtWod+CPAWWzq3w9XIqrAOzcFHJoMZZ0ge8OJXBwYBUs926e+fgBgl69N5HX/cc5ZbgRkFxEQ==","_resolved":"/tmp/0afae49b2b94379e6d63412f0cfd01ee/8xff-atm0s-media-js-0.1.3-alpha.4.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.4.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-1Cp7KEV0e3yuBYtWod+CPAWWzq3w9XIqrAOzcFHJoMZZ0ge8OJXBwYBUs926e+fgBgl69N5HX/cc5ZbgRkFxEQ==","shasum":"a4a82c93275e1fd2b929cc6079c713026a106cac","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.4.tgz","fileCount":89,"unpackedSize":6533580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfe6P2+O5yaNBHODftohKFmuf86runhxzrZ40tMcW5mwIhAL6XA+1Gxz0F9ef88IrgqZGVf4f47xQjk/76lxk+YmXT"}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.4_1702960282251_0.06093058004229834"},"_hasShrinkwrap":false},"0.1.3-alpha.5":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.5","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-alpha.5","_integrity":"sha512-F1ae7tF7oTg2Xq7G19Jy4iN4TzEz+M9bUAoc+4jNeQCM2k8zJZ0wlUZZ+A+st/pPL0W+LvGZfBmpxMQeDQifSQ==","_resolved":"/tmp/03a2e514657d2b9130b4bb80b633cb0e/8xff-atm0s-media-js-0.1.3-alpha.5.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.5.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-F1ae7tF7oTg2Xq7G19Jy4iN4TzEz+M9bUAoc+4jNeQCM2k8zJZ0wlUZZ+A+st/pPL0W+LvGZfBmpxMQeDQifSQ==","shasum":"23a0d8da4e4d7b5107761c8f1123fff893d3f624","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.5.tgz","fileCount":91,"unpackedSize":6694757,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFIqjJJcRBaCCgpURjlUR2YPjNX0O9vnWidv5L3x9y/AiBfUPKS0kWIl5OmIu1OXR7rP1uyeHmljl/m7/4NQWpe9g=="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.5_1703051804094_0.13777530498814872"},"_hasShrinkwrap":false},"0.1.3-alpha.6":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.6","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-alpha.6","_integrity":"sha512-ZP20cQofNeDEpv8Iu8U1dX4WDGUZQ3bbGXVzc95/n36kf3sz9nh1Vx8AiMt8J//MvgZ5tMJqfcg8DWMFVRD42w==","_resolved":"/tmp/d5ab0164f0c6b2e8fce0df6d69930c9f/8xff-atm0s-media-js-0.1.3-alpha.6.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.6.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-ZP20cQofNeDEpv8Iu8U1dX4WDGUZQ3bbGXVzc95/n36kf3sz9nh1Vx8AiMt8J//MvgZ5tMJqfcg8DWMFVRD42w==","shasum":"d92c53e00d5e6502d277b3bb30f502e897d11ab3","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.6.tgz","fileCount":91,"unpackedSize":6725240,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFM0KNiWYC1Bx/hALRT7bDW8QZeQl2VY4o5ELEqdwRlQAiBr76fhmlFPyHZamjIPoOVhnFpVgjs8RzNd76VHMzvlyg=="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.6_1703133629945_0.024931167001546184"},"_hasShrinkwrap":false},"0.1.3-alpha.7":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.7","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n[![codecov](https://codecov.io/gh/8xFF/atm0s-media-sdk-js/graph/badge.svg?token=7kSkd0P72m)](https://codecov.io/gh/8xFF/atm0s-media-sdk-js)\n<!-- [![License](https://badgen.net/github/license/8xFF/media-sdk-js)](./LICENSE)\n[![Package tree-shaking](https://badgen.net/bundlephobia/tree-shaking/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package minified & gzipped size](https://badgen.net/bundlephobia/minzip/atm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js)\n[![Package dependency count](https://badgen.net/bundlephobia/dependency-count/reactatm0s-sdk-js)](https://bundlephobia.com/package/atm0s-sdk-js) -->\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-alpha.7","_integrity":"sha512-OXraoqmQlZ5Pn61IB6X0RmrOY2h7Va2Ag6ZOuo/1LHtf8CTvLwlWA6XpSJ1uhRpnYg/xHVv18ren+CzDBZ3CrA==","_resolved":"/tmp/ff3df7691dd298b488e4ad4c6b57fc28/8xff-atm0s-media-js-0.1.3-alpha.7.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.7.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-OXraoqmQlZ5Pn61IB6X0RmrOY2h7Va2Ag6ZOuo/1LHtf8CTvLwlWA6XpSJ1uhRpnYg/xHVv18ren+CzDBZ3CrA==","shasum":"f573945881fa2d9d9a6650ad90551982858ae72c","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.7.tgz","fileCount":91,"unpackedSize":6711787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLfKTTdGz1OqKvC5gNJO4IlMorNoBig6y2D3Ff7XzqhgIgM8muvQYt3Gla6r2a6pPpX6UMKGl0eOzW0QCIzNqZDOs="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.7_1704189820835_0.06800381288367041"},"_hasShrinkwrap":false},"0.1.3-alpha.8":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.8","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"_id":"@8xff/atm0s-media-js@0.1.3-alpha.8","_integrity":"sha512-AF96P2TmJaKd9kCphcfzEQcmz1+63SmTs5M40UyCKK7SaQT2Qa+bskaWYJU3kJt5WoTZnH5mp/tEsFIl8Jpw9A==","_resolved":"/tmp/3a3e7418f5f89062404152a0e6490705/8xff-atm0s-media-js-0.1.3-alpha.8.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.8.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-AF96P2TmJaKd9kCphcfzEQcmz1+63SmTs5M40UyCKK7SaQT2Qa+bskaWYJU3kJt5WoTZnH5mp/tEsFIl8Jpw9A==","shasum":"c410175cd2a60c6914cb00ba8f471420add215c1","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.8.tgz","fileCount":91,"unpackedSize":6713866,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlxIFsZF4V/MRu5+zWwjOPRz0eRfD7JSRTksC9zd4mYAiBl9F9kAUQc8ukxTpr25OMOsraqturqcF95ktkMxo8/1g=="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.8_1704193717285_0.75294293508873"},"_hasShrinkwrap":false},"0.1.3-alpha.9":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.9","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"_id":"@8xff/atm0s-media-js@0.1.3-alpha.9","_integrity":"sha512-BCk5GkwG0TX7BDCo812glAnjhTOsTTAkomDadNyHwT+rPeIFI4fQot/J9uD4L1e7BIEK8oLrXA2JGb1RYR8I2Q==","_resolved":"/tmp/17ca48ae7ea29e9d264c5b738446591d/8xff-atm0s-media-js-0.1.3-alpha.9.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.9.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-BCk5GkwG0TX7BDCo812glAnjhTOsTTAkomDadNyHwT+rPeIFI4fQot/J9uD4L1e7BIEK8oLrXA2JGb1RYR8I2Q==","shasum":"4bc53cdfa1540faf887d43d0a22dd05dc97ec245","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.9.tgz","fileCount":91,"unpackedSize":6715102,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgcTEmt34WuQ0GlM4RnNG3sFiX1H6hjer4C5sn+O+hsQIgWHjJe1lf42XrqSM7u3urbsofiJQMLEXp/GS2M1pu5FE="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.9_1706241309864_0.48377687665228697"},"_hasShrinkwrap":false},"0.1.3-nightly.20240128":{"name":"@8xff/atm0s-media-js","version":"0.1.3-nightly.20240128","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n\nJS SDK for interacting with Atm0s Media Server (This SDK is still in Alpha).\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js@alpha --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js@alpha\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js@alpha\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n### Usage\n\n#### Connect to a Session\n\n```\nimport { createSession } from \"@8xff/atm0s-media-js\";\n\nconst url = \"<YOUR SERVER URL>\";\nconst token = \"<YOUR SERVER TOKEN IF NEEDED>\";\n\n// This can be any MediaStream\nconst stream = await navigator.mediaDevices.getUserMedia({\n  audio: true,\n  video: true,\n});\n\nconst session = createSession(url, {\n  roomId: \"Echo Room\",\n  peerId: \"echo-client\",\n  token,\n  // You can optionally initialize the session with senders and receivers so we won't have to keep\n  // updating SDP every time we create a new senders and receivers\n  senders: [\n    { stream: stream, name: \"audio_main\", kind: \"audio\" },\n    {\n      stream: stream,\n      name: \"video_main\",\n      kind: \"video\",\n      // Optionally, you can add simulcast\n      simulcast: true,\n    },\n  ],\n  receivers: {\n    audio: 1,\n    video: 1,\n  },\n});\n\n// This will connect to the server and send the initialized MediaStream from above \nsession.connect();\n```\n\n#### Consume the stream\nBy issued stream name\n```\nconst consumer = session.createConsumerPair(peerId, \"audio_main\", \"video_main\");\n\n```\n\nOr listen to stream events:\n```\n// Note: In this specific case, we only have our own stream, so only `mystream_added` is triggered.\n// In the case of listening for an external stream, use `stream_added` instead\nsession.on(\"mystream_added\", (stream) => {\n  // The audio stream and video stream added events will be triggered separately\n\n  if (stream.kind === \"video\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n\n  if (stream.kind === \"audio\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n});\n```\n\nYou can find more details about the SDK Documentation [here](https://8xff.github.io/media-docs/).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-nightly.20240128","_integrity":"sha512-tb+aw+eWY00uwIUpkVFE4I6cmkIMuPmJN/0ISjnwDRXBZyrSsovY0JAKQALB/oaLjXc35DAUW/JQxXbBvue01Q==","_resolved":"/tmp/4a7bf02eed4ba8cc5c64aae18491dcf0/8xff-atm0s-media-js-0.1.3-nightly.20240128.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-nightly.20240128.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-tb+aw+eWY00uwIUpkVFE4I6cmkIMuPmJN/0ISjnwDRXBZyrSsovY0JAKQALB/oaLjXc35DAUW/JQxXbBvue01Q==","shasum":"c8807b580f05689936e2a286b427b4224c06ceb2","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-nightly.20240128.tgz","fileCount":91,"unpackedSize":6715183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjNgh6xcAEr+sM3W7zrJa5CpDJ8qMQWb+RRMdvYgxlGQIhAILw+0TQWrOrKeKCf6JPSR42tytTk18MM8j9mhlV70hm"}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-nightly.20240128_1706461483936_0.6956547109674975"},"_hasShrinkwrap":false},"0.1.3-nightly.20240129":{"name":"@8xff/atm0s-media-js","version":"0.1.3-nightly.20240129","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n\nJS SDK for interacting with Atm0s Media Server (This SDK is still in Alpha).\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js@alpha --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js@alpha\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js@alpha\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n### Usage\n\n#### Connect to a Session\n\n```\nimport { createSession } from \"@8xff/atm0s-media-js\";\n\nconst url = \"<YOUR SERVER URL>\";\nconst token = \"<YOUR SERVER TOKEN IF NEEDED>\";\n\n// This can be any MediaStream\nconst stream = await navigator.mediaDevices.getUserMedia({\n  audio: true,\n  video: true,\n});\n\nconst session = createSession(url, {\n  roomId: \"Echo Room\",\n  peerId: \"echo-client\",\n  token,\n  // You can optionally initialize the session with senders and receivers so we won't have to keep\n  // updating SDP every time we create a new senders and receivers\n  senders: [\n    { stream: stream, name: \"audio_main\", kind: \"audio\" },\n    {\n      stream: stream,\n      name: \"video_main\",\n      kind: \"video\",\n      // Optionally, you can add simulcast\n      simulcast: true,\n    },\n  ],\n  receivers: {\n    audio: 1,\n    video: 1,\n  },\n});\n\n// This will connect to the server and send the initialized MediaStream from above \nsession.connect();\n```\n\n#### Consume the stream\nBy issued stream name\n```\nconst consumer = session.createConsumerPair(peerId, \"audio_main\", \"video_main\");\n\n```\n\nOr listen to stream events:\n```\n// Note: In this specific case, we only have our own stream, so only `mystream_added` is triggered.\n// In the case of listening for an external stream, use `stream_added` instead\nsession.on(\"mystream_added\", (stream) => {\n  // The audio stream and video stream added events will be triggered separately\n\n  if (stream.kind === \"video\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n\n  if (stream.kind === \"audio\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n});\n```\n\nYou can find more details about the SDK Documentation [here](https://8xff.github.io/media-docs/).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-nightly.20240129","_integrity":"sha512-UKMNQYd4B5/SW+pVSw8uhek2MxodtUn9Cy7XCRK1nB9gdEFjKaOrC4nLE4EkEV7ZA22N90f3deiZAiSYrbIdDw==","_resolved":"/tmp/36d9288136811c21cc28e488776f4804/8xff-atm0s-media-js-0.1.3-nightly.20240129.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-nightly.20240129.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-UKMNQYd4B5/SW+pVSw8uhek2MxodtUn9Cy7XCRK1nB9gdEFjKaOrC4nLE4EkEV7ZA22N90f3deiZAiSYrbIdDw==","shasum":"9b0fafc3dfe69a320c2c6c350b813b9953085136","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-nightly.20240129.tgz","fileCount":91,"unpackedSize":6715183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICgJrrBrdQRECHnbL7FoZwiJxM95SBdDvT3JNjKxbVTwAiEAgTxhOjHK77cVoKbecfwri8sBX2sogcTfJMrax/t0dkg="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-nightly.20240129_1706488901015_0.5671418764486202"},"_hasShrinkwrap":false},"0.1.3-alpha.10":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.10","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","dev":"rollup --config ./rollup.config.mjs --watch","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n\nJS SDK for interacting with Atm0s Media Server (This SDK is still in Alpha).\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js@alpha --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js@alpha\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js@alpha\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n### Usage\n\n#### Connect to a Session\n\n```\nimport { createSession } from \"@8xff/atm0s-media-js\";\n\nconst url = \"<YOUR SERVER URL>\";\nconst token = \"<YOUR SERVER TOKEN IF NEEDED>\";\n\n// This can be any MediaStream\nconst stream = await navigator.mediaDevices.getUserMedia({\n  audio: true,\n  video: true,\n});\n\nconst session = createSession(url, {\n  roomId: \"Echo Room\",\n  peerId: \"echo-client\",\n  token,\n  // You can optionally initialize the session with senders and receivers so we won't have to keep\n  // updating SDP every time we create a new senders and receivers\n  senders: [\n    { stream: stream, name: \"audio_main\", kind: \"audio\" },\n    {\n      stream: stream,\n      name: \"video_main\",\n      kind: \"video\",\n      // Optionally, you can add simulcast\n      simulcast: true,\n    },\n  ],\n  receivers: {\n    audio: 1,\n    video: 1,\n  },\n});\n\n// This will connect to the server and send the initialized MediaStream from above \nsession.connect();\n```\n\n#### Consume the stream\nBy issued stream name\n```\nconst consumer = session.createConsumerPair(peerId, \"audio_main\", \"video_main\");\n\n```\n\nOr listen to stream events:\n```\n// Note: In this specific case, we only have our own stream, so only `mystream_added` is triggered.\n// In the case of listening for an external stream, use `stream_added` instead\nsession.on(\"mystream_added\", (stream) => {\n  // The audio stream and video stream added events will be triggered separately\n\n  if (stream.kind === \"video\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n\n  if (stream.kind === \"audio\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n});\n```\n\nYou can find more details about the SDK Documentation [here](https://8xff.github.io/media-docs/).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-alpha.10","_integrity":"sha512-yVN4c5+o6P5WI7MEJFmOB5RUq5faBRj10znVp08Y2FN3SzMUGKcTI8QHi2mKh/yhQkiZsmfSOCBJYrJkh/M3uQ==","_resolved":"/tmp/0f632ada9dd397ae51909432fc6cc53e/8xff-atm0s-media-js-0.1.3-alpha.10.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.10.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-yVN4c5+o6P5WI7MEJFmOB5RUq5faBRj10znVp08Y2FN3SzMUGKcTI8QHi2mKh/yhQkiZsmfSOCBJYrJkh/M3uQ==","shasum":"edd9969e6a97eb7fc71936b0298bc1d62525f4fc","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.10.tgz","fileCount":91,"unpackedSize":6731055,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyn/tgkC1PUA1GfXdcskp+YpuwnKS5aZ5B3+ZvW6pgzwIgbpZKC6hqdx1b+JrTuMQJrNBaIBUVdSY2IrnVqyoq9ps="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.10_1706639155872_0.16020888933989452"},"_hasShrinkwrap":false},"0.1.3-nightly.20240131":{"name":"@8xff/atm0s-media-js","version":"0.1.3-nightly.20240131","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","dev":"rollup --config ./rollup.config.mjs --watch","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n\nJS SDK for interacting with Atm0s Media Server (This SDK is still in Alpha).\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js@alpha --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js@alpha\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js@alpha\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n### Usage\n\n#### Connect to a Session\n\n```\nimport { createSession } from \"@8xff/atm0s-media-js\";\n\nconst url = \"<YOUR SERVER URL>\";\nconst token = \"<YOUR SERVER TOKEN IF NEEDED>\";\n\n// This can be any MediaStream\nconst stream = await navigator.mediaDevices.getUserMedia({\n  audio: true,\n  video: true,\n});\n\nconst session = createSession(url, {\n  roomId: \"Echo Room\",\n  peerId: \"echo-client\",\n  token,\n  // You can optionally initialize the session with senders and receivers so we won't have to keep\n  // updating SDP every time we create a new senders and receivers\n  senders: [\n    { stream: stream, name: \"audio_main\", kind: \"audio\" },\n    {\n      stream: stream,\n      name: \"video_main\",\n      kind: \"video\",\n      // Optionally, you can add simulcast\n      simulcast: true,\n    },\n  ],\n  receivers: {\n    audio: 1,\n    video: 1,\n  },\n});\n\n// This will connect to the server and send the initialized MediaStream from above \nsession.connect();\n```\n\n#### Consume the stream\nBy issued stream name\n```\nconst consumer = session.createConsumerPair(peerId, \"audio_main\", \"video_main\");\n\n```\n\nOr listen to stream events:\n```\n// Note: In this specific case, we only have our own stream, so only `mystream_added` is triggered.\n// In the case of listening for an external stream, use `stream_added` instead\nsession.on(\"mystream_added\", (stream) => {\n  // The audio stream and video stream added events will be triggered separately\n\n  if (stream.kind === \"video\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n\n  if (stream.kind === \"audio\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n});\n```\n\nYou can find more details about the SDK Documentation [here](https://8xff.github.io/media-docs/).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-nightly.20240131","_integrity":"sha512-taGRXd9Z9UU+O1rXE25GcDXFWG6T7e2hQgVU0bbVhoLuSBUF17ApnS0U1HAwIFaPw1JC9qgOSIiRwwlqVIZAKw==","_resolved":"/tmp/929e85b7f0392f1c2ebf9ff123f801b9/8xff-atm0s-media-js-0.1.3-nightly.20240131.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-nightly.20240131.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-taGRXd9Z9UU+O1rXE25GcDXFWG6T7e2hQgVU0bbVhoLuSBUF17ApnS0U1HAwIFaPw1JC9qgOSIiRwwlqVIZAKw==","shasum":"252d69f385f9553ffcf96873ec57c544ae81bba2","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-nightly.20240131.tgz","fileCount":91,"unpackedSize":6731127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/quMI16qabw2SF2w7TJaXPdVe6/8sGVIVesNY+qlzRgIhAJc2smtm3IsvLqaL4mvpX3/HhkjRdMkqn7UITdHBX2wo"}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-nightly.20240131_1706661701433_0.4205620523720135"},"_hasShrinkwrap":false},"0.1.3-alpha.11":{"name":"@8xff/atm0s-media-js","version":"0.1.3-alpha.11","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","dev":"rollup --config ./rollup.config.mjs --watch","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n\nJS SDK for interacting with Atm0s Media Server (This SDK is still in Alpha).\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js@alpha --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js@alpha\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js@alpha\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n### Usage\n\n#### Connect to a Session\n\n```\nimport { createSession } from \"@8xff/atm0s-media-js\";\n\nconst url = \"<YOUR SERVER URL>\";\nconst token = \"<YOUR SERVER TOKEN IF NEEDED>\";\n\n// This can be any MediaStream\nconst stream = await navigator.mediaDevices.getUserMedia({\n  audio: true,\n  video: true,\n});\n\nconst session = createSession(url, {\n  roomId: \"Echo Room\",\n  peerId: \"echo-client\",\n  token,\n  // You can optionally initialize the session with senders and receivers so we won't have to keep\n  // updating SDP every time we create a new senders and receivers\n  senders: [\n    { stream: stream, name: \"audio_main\", kind: \"audio\" },\n    {\n      stream: stream,\n      name: \"video_main\",\n      kind: \"video\",\n      // Optionally, you can add simulcast\n      simulcast: true,\n    },\n  ],\n  receivers: {\n    audio: 1,\n    video: 1,\n  },\n});\n\n// This will connect to the server and send the initialized MediaStream from above \nsession.connect();\n```\n\n#### Consume the stream\nBy issued stream name\n```\nconst consumer = session.createConsumerPair(peerId, \"audio_main\", \"video_main\");\n\n```\n\nOr listen to stream events:\n```\n// Note: In this specific case, we only have our own stream, so only `mystream_added` is triggered.\n// In the case of listening for an external stream, use `stream_added` instead\nsession.on(\"mystream_added\", (stream) => {\n  // The audio stream and video stream added events will be triggered separately\n\n  if (stream.kind === \"video\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n\n  if (stream.kind === \"audio\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n});\n```\n\nYou can find more details about the SDK Documentation [here](https://8xff.github.io/media-docs/).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-alpha.11","_integrity":"sha512-1LWB0NTOgGQQrbzP+xDjrY/iBH+ezL9h/LnJDVXxpjm3RhmMtxsREmxzcBbs1e8Oa8cg+Aoa9r1ihu27YjS4KA==","_resolved":"/tmp/7ffd9e7e27eb89e7116694138d93fcda/8xff-atm0s-media-js-0.1.3-alpha.11.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-alpha.11.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-1LWB0NTOgGQQrbzP+xDjrY/iBH+ezL9h/LnJDVXxpjm3RhmMtxsREmxzcBbs1e8Oa8cg+Aoa9r1ihu27YjS4KA==","shasum":"094b0a506820771323c59532050387269d994de3","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-alpha.11.tgz","fileCount":91,"unpackedSize":6733361,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIQcjZF9q6UqEQP9tRWOyxyALvnwWomMndxTUEnyBLhAiEA2M4OJrxnD0+YX+MYtekhsJb8Eoht4Lwn7DGs/YLLmjg="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-alpha.11_1716455514636_0.3784356524981267"},"_hasShrinkwrap":false},"0.1.3-nightly.20240524":{"name":"@8xff/atm0s-media-js","version":"0.1.3-nightly.20240524","description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","exports":{".":[{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.js"},"./dist/index.js"]},"devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.3","@types/debug":"^4.1.12","@types/eslint":"^8.44.3","@types/jest":"^29.5.5","@types/pako":"^2.0.3","@types/prettier":"^3.0.0","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.0.3","rollup":"^3.29.4","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-jest-resolver":"^2.0.1","typedoc":"^0.25.1","typedoc-plugin-markdown":"^3.16.0","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"keywords":[],"author":{"name":"Luong Ngoc Minh"},"license":"MIT","bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"homepage":"https://github.com/8xFF/media-sdk-js#readme","dependencies":{"pako":"^2.1.0","ts-debounce":"^4.0.0","tslib":"^2.6.2"},"directories":{"doc":"docs"},"scripts":{"doc":"typedoc src/index.ts","test":"jest","lint":"eslint \"*/**/*.{ts,js,json}\"","lint:fix":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.mjs","dev":"rollup --config ./rollup.config.mjs --watch","config:prerelease":"node ./scripts/configurePrerelease.mjs"},"readme":"# Atm0s Media JS SDK\n\n[![Continuous Integrations](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/8xFF/media-sdk-js/actions/workflows/continuous-integrations.yaml)\n\nJS SDK for interacting with Atm0s Media Server (This SDK is still in Alpha).\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install @8xff/atm0s-media-js@alpha --save\n\n# For Yarn, use the command below.\nyarn add @8xff/atm0s-media-js@alpha\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/@8xff/atm0s-media-js@alpha\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@8xff/atm0s-media-js\"></script>\n\n<script>\n  // UMD module is exposed through the \"Atm0s\" global variable.\n  console.log(Atm0s);\n</script>\n```\n\n## Documentation\n\n### Usage\n\n#### Connect to a Session\n\n```\nimport { createSession } from \"@8xff/atm0s-media-js\";\n\nconst url = \"<YOUR SERVER URL>\";\nconst token = \"<YOUR SERVER TOKEN IF NEEDED>\";\n\n// This can be any MediaStream\nconst stream = await navigator.mediaDevices.getUserMedia({\n  audio: true,\n  video: true,\n});\n\nconst session = createSession(url, {\n  roomId: \"Echo Room\",\n  peerId: \"echo-client\",\n  token,\n  // You can optionally initialize the session with senders and receivers so we won't have to keep\n  // updating SDP every time we create a new senders and receivers\n  senders: [\n    { stream: stream, name: \"audio_main\", kind: \"audio\" },\n    {\n      stream: stream,\n      name: \"video_main\",\n      kind: \"video\",\n      // Optionally, you can add simulcast\n      simulcast: true,\n    },\n  ],\n  receivers: {\n    audio: 1,\n    video: 1,\n  },\n});\n\n// This will connect to the server and send the initialized MediaStream from above \nsession.connect();\n```\n\n#### Consume the stream\nBy issued stream name\n```\nconst consumer = session.createConsumerPair(peerId, \"audio_main\", \"video_main\");\n\n```\n\nOr listen to stream events:\n```\n// Note: In this specific case, we only have our own stream, so only `mystream_added` is triggered.\n// In the case of listening for an external stream, use `stream_added` instead\nsession.on(\"mystream_added\", (stream) => {\n  // The audio stream and video stream added events will be triggered separately\n\n  if (stream.kind === \"video\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n\n  if (stream.kind === \"audio\") {\n    const consumer = session.createConsumer(stream);\n    const stream = consumer.view();\n    // Do something with stream ...\n  }\n});\n```\n\nYou can find more details about the SDK Documentation [here](https://8xff.github.io/media-docs/).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md","_id":"@8xff/atm0s-media-js@0.1.3-nightly.20240524","_integrity":"sha512-4HUafQpTl1H80n4mzy0zlU6h5+Z86yGkzb6+WG7VqHcLah0b9A1MjG0IoRhzGftzBkyydmn1VBYc/+h1iZbytQ==","_resolved":"/tmp/0722d583a3f75147348c66cdb62f88a3/8xff-atm0s-media-js-0.1.3-nightly.20240524.tgz","_from":"file:8xff-atm0s-media-js-0.1.3-nightly.20240524.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-4HUafQpTl1H80n4mzy0zlU6h5+Z86yGkzb6+WG7VqHcLah0b9A1MjG0IoRhzGftzBkyydmn1VBYc/+h1iZbytQ==","shasum":"37e66212d0083844bc76e6795ea7a55dae72d0f2","tarball":"https://registry.npmjs.org/@8xff/atm0s-media-js/-/atm0s-media-js-0.1.3-nightly.20240524.tgz","fileCount":91,"unpackedSize":6733433,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmO5CFlsJNjCaRsSXXuwfIASVNuacwEk3BVff4p/iY7gIgGzzL/TpgCB7RJfIvpYr4fTZG6VN4RvlIC2+LRVJFEi8="}]},"_npmUser":{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atm0s-media-js_0.1.3-nightly.20240524_1716511474560_0.6491589094083046"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-30T07:59:08.067Z","0.1.0-nightly.20231130":"2023-11-30T07:59:08.367Z","modified":"2024-05-24T00:44:35.065Z","0.1.1-alpha.0":"2023-11-30T09:44:43.151Z","0.1.1-nightly.20231130":"2023-11-30T10:12:56.032Z","0.1.2-alpha.0":"2023-12-05T07:58:39.866Z","0.1.2-alpha.1":"2023-12-07T09:57:43.083Z","0.1.2-nightly.20231207":"2023-12-07T09:58:04.607Z","0.1.3-nightly.20231212":"2023-12-12T07:32:39.095Z","0.1.3-alpha.0":"2023-12-12T07:34:16.605Z","0.1.3-nightly.20231213":"2023-12-13T00:43:56.462Z","0.1.3-alpha.3":"2023-12-13T07:21:00.357Z","0.1.3-alpha.4":"2023-12-19T04:31:22.533Z","0.1.3-alpha.5":"2023-12-20T05:56:44.357Z","0.1.3-alpha.6":"2023-12-21T04:40:30.266Z","0.1.3-alpha.7":"2024-01-02T10:03:41.067Z","0.1.3-alpha.8":"2024-01-02T11:08:37.659Z","0.1.3-alpha.9":"2024-01-26T03:55:10.208Z","0.1.3-nightly.20240128":"2024-01-28T17:04:44.178Z","0.1.3-nightly.20240129":"2024-01-29T00:41:41.231Z","0.1.3-alpha.10":"2024-01-30T18:25:56.121Z","0.1.3-nightly.20240131":"2024-01-31T00:41:41.671Z","0.1.3-alpha.11":"2024-05-23T09:11:54.921Z","0.1.3-nightly.20240524":"2024-05-24T00:44:34.878Z"},"maintainers":[{"name":"luongngocminh","email":"ngocminhluong182@gmail.com"},{"name":"giangndm","email":"giang.ndm@gmail.com"}],"description":"Provide a intuitive way to interact with Atm0s Media Server in Vanilla Javascript","homepage":"https://github.com/8xFF/media-sdk-js#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/8xFF/media-sdk-js.git"},"author":{"name":"Luong Ngoc Minh"},"bugs":{"url":"https://github.com/8xFF/media-sdk-js/issues"},"license":"MIT","readme":"","readmeFilename":""}