{"_id":"@usama123/test","_rev":"51-f8d00e8a3cdc8dea8bf60f75e776b6fe","time":{"created":"2023-02-02T17:57:20.563Z","1.0.0":"2023-02-02T16:46:15.709Z","modified":"2023-02-17T18:22:59.969Z","1.0.1-SNAPSHOT":"2023-02-02T17:51:37.606Z","1.0.1":"2023-02-02T17:57:20.774Z","1.0.2":"2023-02-02T17:59:05.408Z","2.5.3":"2023-02-03T14:53:24.546Z","2.5.4":"2023-02-03T16:05:19.124Z","2.5.5-SNAPSHOT":"2023-02-03T16:32:55.589Z","2.6.0-SNAPSHOT-2023-Feb-03-11-27":"2023-02-03T17:57:24.409Z","2.6.0-SNAPSHOT-2023-Feb-07-01-56":"2023-02-07T08:27:43.390Z","2.6.0-SNAPSHOT-2023-Feb-07-02-00":"2023-02-07T08:31:18.992Z","2.6.0-SNAPSHOT-2023-Feb-07-08-54":"2023-02-07T08:54:48.339Z","2.6.0-SNAPSHOT-2023-Feb-07-08-55":"2023-02-07T08:55:29.138Z","2.6.0-SNAPSHOT-2023-Feb-07-08-57":"2023-02-07T08:57:15.268Z","2.6.0-SNAPSHOT-2023-Feb-07-08-58":"2023-02-07T08:58:08.228Z","2.6.0-SNAPSHOT-2023-Feb-07-09-03":"2023-02-07T09:03:50.390Z","2.6.2":"2023-02-07T10:07:57.453Z","2.6.0-SNAPSHOT-2023-Feb-07-10-13":"2023-02-07T10:13:27.602Z","2.6.0-SNAPSHOT-2023-Feb-07-01-08":"2023-02-07T13:08:40.925Z","2.6.0-SNAPSHOT-2023-Feb-08-07-10":"2023-02-08T07:10:53.273Z","2.6.0-SNAPSHOT-2023-Feb-08-07-12":"2023-02-08T07:12:40.060Z","2.6.0-SNAPSHOT-2023-Feb-08-07-14":"2023-02-08T07:14:35.319Z","2.6.0-SNAPSHOT-2023-Feb-08-07-15":"2023-02-08T07:15:23.495Z","2.6.0-SNAPSHOT-2023-Feb-16-07-42":"2023-02-16T07:42:58.390Z","2.6.0-SNAPSHOT-2023-Feb-16-08-36":"2023-02-16T08:36:29.244Z","2.6.0-SNAPSHOT-2023-Feb-16-08-44":"2023-02-16T08:44:56.892Z","2.6.0-SNAPSHOT-2023-Feb-16-09-01":"2023-02-16T09:01:59.670Z","2.6.0-SNAPSHOT-2023-Feb-16-09-05":"2023-02-16T09:05:44.197Z","2.6.0-SNAPSHOT-2023-Feb-16-09-52":"2023-02-16T09:52:17.463Z","2.6.0-SNAPSHOT-2023-Feb-16-09-58":"2023-02-16T09:58:15.502Z","2.6.0-SNAPSHOT-2023-Feb-16-10-02":"2023-02-16T10:02:40.449Z","2.6.0-SNAPSHOT-2023-Feb-16-03-38":"2023-02-16T10:09:08.489Z","2.6.0-SNAPSHOT-2023-Feb-16-10-28":"2023-02-16T10:28:27.488Z","2.6.0-SNAPSHOT-2023-Feb-16-10-35":"2023-02-16T10:35:08.677Z","2.6.0-SNAPSHOT-2023-Feb-16-12-29":"2023-02-16T12:29:41.603Z","2.6.0-SNAPSHOT-2023-Feb-16-12-38":"2023-02-16T12:38:43.425Z","2.6.0-SNAPSHOT-2023-Feb-16-01-08":"2023-02-16T13:08:47.480Z","2.6.0-SNAPSHOT-2023-Feb-16-01-13":"2023-02-16T13:13:49.913Z","2.6.0-SNAPSHOT-2023-Feb-16-01-35":"2023-02-16T13:35:49.859Z","2.6.0-SNAPSHOT-2023-Feb-17-06-20":"2023-02-17T18:20:24.036Z"},"name":"@usama123/test","dist-tags":{"latest":"2.5.4","SNAPSHOT":"2.6.0-SNAPSHOT-2023-Feb-17-06-20"},"versions":{"1.0.1":{"name":"@usama123/test","version":"1.0.1","description":"this is the test application for publishing to npm","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"@usama123/test@1.0.1","_nodeVersion":"12.22.9","_npmVersion":"8.5.1","dist":{"integrity":"sha512-NHDSEIw0iFNwBDccVM1RSE48UMK89V3ixA9Nh1yDBXrjemkYNMoPxihMmyt5224803jmpUwEAs2wHsz/8krg0w==","shasum":"5a2cac1cdb32b625eb4e29c2d7f55472dd637fbc","tarball":"https://registry.npmjs.org/@usama123/test/-/test-1.0.1.tgz","fileCount":2,"unpackedSize":287,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAD1CptELl0yIKrpaSWJD8uEEhfVVIucKbKAyTlRWYPdAiAdRw0uYH4sstwqSlrJVf9sLSUYa4/4gOS0OQOfImmGHQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2/mAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoq1A/+P1v27vH+4r9xu5CxLroEC6oB8Vb2RCDTcDlqJ6vZw90UT/eh\r\nuo2WJxQsnUVA67Fgx4lZ3Iarz9wfZ/hU6ZlhyqI9+2JIkHKqcXWEcQdtUhcN\r\nFf+bzUSFARZW3+veQ8lSrJz86dx+xDObXuvd86BNhhTxa4fcrRbYbyOrNCZi\r\nfZrHIm8gOFM4iVPLmK0Z/I9Zr6Sm7vMJVbngM6pBn1WWD1VHWRqjpkfcq1Nh\r\nNvNNVDfZHKTOOaKnKlMl8oAiNl0i9zKh6NCnnLiu9j5JRw/2WlO3Gdvkmy61\r\niqvpO8G9SKo2dbh1RnkSkvU6ZMAvchvM4wGEl+t2/GWCyxXoGJ6rbp6a+eun\r\nb/eHavPm8RAJ55tlO85FFEaKtbfTtLELJqN7fUHtJ24pdH7BzjbxRoqRdfQT\r\nae4otIDIbe4xTgWF6dxVlNaPbqa6UQqUiINTfD9ubINQuZ/3NY5gVBrIJ9R9\r\n9WrIlKQ9Ld+/cK9C0+ehTSjnqP6Yrwg0ak1FJT71IhuEqiRY07vIl9Tc12zF\r\nEuhVe6NQWMGFjN3tf6Dr82fKrhWt45oMCYdaKxHGDwqFowPWHeGubs61oGZl\r\nii3YZiyIiDsnm9Tvh4qZMkBoLQQmAia04VRfUtzqWHa1TKzTsKQop/c0Wf2D\r\n+l8Qh2uG624mi2mpI6gyCv/A6j8XoSQ3NbU=\r\n=+XA5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"directories":{},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_1.0.1_1675360640635_0.3410250098745511"},"_hasShrinkwrap":false},"1.0.2":{"name":"@usama123/test","version":"1.0.2","description":"this is the test application for publishing to npm","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","readme":"ERROR: No README data found!","_id":"@usama123/test@1.0.2","_nodeVersion":"12.22.9","_npmVersion":"8.5.1","dist":{"integrity":"sha512-vsdzqJffgmgQxmHBd1tJ4nJ18Ig2oV+01+B7Q7BSk3UF0y7fFolJGEtw95rAt06CFu2WH+7D2XtWSv67q8uPzA==","shasum":"294c57180275469d0d51c6bf9b4c7f1e86c89309","tarball":"https://registry.npmjs.org/@usama123/test/-/test-1.0.2.tgz","fileCount":2,"unpackedSize":287,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyLody30zq6V/LVWMwpj3kXpEH+T+QVDRdT5q8yehS/wIgEMljfGtkXXXXZfKMGAwZ8iIt7Yld/SIk0UFFMmEbuEg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2/npACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMNg//cUzvVIIlIc6ydGjcZOzfur/q93haLanDMLMtdNt9SMZEGWD3\r\nZGtn9Ry+5dpEBI/d3Ea0rXi8aoH6tuGf6mn1F2hFovlIsn9muz8SlUfLVhey\r\n7ZqRE1Pg6BLGduzzZT6Tio+mQtLJ8V2aKJjS3+1ghAa6y3cFClGZJIuu78yh\r\nPp3YEaLtc77o0YvvXt5O3c0Oh6CKMMJCyTb6px9ocmMXTVUc4yx6vUIwDgE6\r\nVcGooI4rkTneOoAcwS73D+rXbCn090anofJV92F8qsW67XbjkOMHgWciKKtx\r\nCVzRE/tl+wkto0cfHV1z3gP0hWeG+sd31iXykqjEXCyvLq5+9tEBx1EVk/nF\r\nWQmNFYHaL4JPBXeedjPs65JCMetRFRN+X7Jgw5PVVt3LgGj2L0YRhHNRCKqN\r\n7r7U7WIOqW2ftfG/dpyED7gfxEAETffnklGkJLkyMfwlPFrT6zoOKjdeCfYn\r\nbsVbWo1WEUKVf8aUeDwMvBJilbxt5cxAcBYbvNwRTl85Y7BOLPokdLPWPFbb\r\nAuAjIMPSgTF+2KhcT+Q1uIYEr+m6dWSqOfINVQ5KHGMAc4xS+6fy+S3dNc+a\r\ntHA0sGjjreckRb3r+DOX6ykp1uA0wmXEwqZxeES7B2DS3dmT/9cl36XXE8hw\r\nrLE/L3u90mcEI1swQ/3NlzbEMCSLdgXELFE=\r\n=rX4M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"directories":{},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_1.0.2_1675360745206_0.20366734486405957"},"_hasShrinkwrap":false},"2.5.3":{"name":"@usama123/test","version":"2.5.3","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.19.6"},"gitHead":"b6918f158ac973ca27eb58bfd283e79b4df9441f","_id":"@usama123/test@2.5.3","_nodeVersion":"12.22.9","_npmVersion":"8.5.1","dist":{"integrity":"sha512-egyx3MyUDYRfQqRgAr6Um2h2IKs3MXHnpha+KmTXeuGcOVrx1tIRdtd6lM+5q2BctzRl4zq+Bh6BPZ/r2gtxKw==","shasum":"3d3ebba412b7b3631bb4ca44e4cc2590fd5c44cc","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.5.3.tgz","fileCount":63,"unpackedSize":21174456,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDneyc1Hf1e5748itJ+AzaGhrP+A4nF3UTfku/OsU9LPwIge7Mgb0BStXw5nTnu+Ql+Gld9wXLZ0E1Wf3NOt9siNsc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3R/kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrU2w/9EpfNMa3c3NAeiyENjS8Y/30lBRcgId2opvjdu8eRSYcvCSd5\r\n+bAqZoV8H5SHbMn1eJb3sOEOzVPUHTf9vI99R0RPGSS5KseG3b0TFScXkfim\r\nm9Yd1zK25QRFk87xVksI7CRLsV7sUqd0xvoh2mH2Ov8t+0MBYtf3V4GSNN/5\r\nlZKhahQAYFSBmTLt5D+oJZ74ps5phkSerI8DeW8nHTdEbgvfQwUj7qckW4zr\r\noryTUdePeqBytPE9/O+BLVSAAK+KkYB5/2ePqC+h27qFEgbhRWauGoCcDRBO\r\nEQjJbvuQseIjXUPsDvpBp3y6Jdqa3PMbzazQQ9DJrDp1f1g1QKcRSwd0DAxW\r\nKkV0/QvdEyEa1FRfUEuESWWHCQ8fSYYmTiiLdAzQJpqlrB04uEfooSRL96qi\r\nsi4JYWDIsKW/rVEOsUKYrLs7zmWuUaJ+iIljLJzzjg1Ca0EAPSB/7MCYbSWK\r\nzVuVFXgqwzNO87dMRg+0cZtSdTF9tCglLBmGXz6xZMpo3P/LoU7XVzXv7z1v\r\ngCrcG/WlFswAOuuN3yGuY1wK+3p59Mr3famn/nWncWnA1fkM0ZHFhSK893p4\r\nxqdE+cPJd0xgF3MK7biWp9LZbiejl77uVTWXPZH5KVLVEF5kAa1WZMmljD/5\r\nsmPpF23X5OdPjDshioY3WyzwuCS7tiifqck=\r\n=5qVs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.5.3_1675436004308_0.6826544288182481"},"_hasShrinkwrap":false},"2.5.4":{"name":"@usama123/test","version":"2.5.4","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.19.6"},"gitHead":"6462be1f9ce522f51ee92b6c9fe4d9ff43046628","_id":"@usama123/test@2.5.4","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-iugFtykHzC2RjwzTeFfZ66TGJBSYGpjajSiTdB/+XuUaOpfosaAx4UhMKKGgOiqSlrkm9jGal3R/ao9WX4wKiA==","shasum":"c0ae06953a52fd24165dc26a70b02bf2194297fc","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.5.4.tgz","fileCount":63,"unpackedSize":21174461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0vC5w/m0jPUEnBCqNAU7enZQxUBJCoOKSIikJw1HIGAiEArDr8MO+DPXEUIiNckjEPQ1p3wrdLmOxTiSB/zLI/C8A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3TC/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/dw/+LfiGHPUPsGkVsnvXlANJ/zBCGlFErngSSR3VHxBuP8aTpBcr\r\nFgkPXaAg8C77frfhd+hXfDhsugsABjSbDD5Jw7bLP2J8l1graFV8msHeXVkT\r\nIAySsMqlp4ZdFrIktwIpxNQPqaKhZ/PWOtrBkSXqwU+P7oXQiId+Fjq+NVfX\r\nGPfL+nM05he3hkZ0FvQEk7dxoYn+r9nWBPu1/gOXCfRKtMoTzO5BADTegETZ\r\nOO2O2Yf2WOyPkFZ1C4Gf83EhuwZz8RUA8O5Xj5z7nzYHvjTs9hbpF126ViBf\r\nywM8Bqsv3NystABjkiT2T5z72W94wbwWqXOcHJhLPfB8P6R8FnCUABtFgFmw\r\nE8G2K68q0FKqesQao2UIMxD4AJUGAuBtkf+vkmEiWYt0SMVE3Z2ECEjcOZMo\r\nBFsAmXgkrpyk0cY6mMtkhqJpQ+2KTZFCncw3D1Lc2h3TYyITQxmSl8+2n6b7\r\nPYKG4Yk93dZBdprDwwbTrT8clifyk0eLDqAjZH1pR92ghIxhJjA7iShsli3u\r\nzYzSJDdHfsDkCAPRB4jlSB8Hqse03SMzCUZYwkPUnoEtEZg5nMQMYav/anDo\r\nuM5o9hgTEd+LfydNRYSguqCK8oR7lwljxai3j6Mm+6R6fRAd3roQ2Q/X9NeY\r\nabt9hf5GWGKvCkm2TIBGmLQD6XlPKYkcABM=\r\n=H6H+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.5.4_1675440318849_0.9699402109147606"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-07-02-00":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-07-02-00","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"8af080a9aecba105d93c387365a88e07ddfcd506","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-07-02-00","_nodeVersion":"12.22.9","_npmVersion":"8.5.1","dist":{"integrity":"sha512-KPS/9tzxRgEyYII1jJLeRtkQ3BFWhhdQL4HHPXGBmo5eF3NeeeM35/Wccp1Ke4OyTLkNPIc1seegN0du+hMVIQ==","shasum":"db4d734bf9eaae0673c6e3406ba3e3457837c29e","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-07-02-00.tgz","fileCount":158,"unpackedSize":61630290,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBwSANlm83GK/hhbKvT5AkJiJlMwNVF9iJC3KPuiNt0AiEAojEsrbaX6yjd6bJpOOykRXtN/I/q04NIsBxVJxhJWVg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4gxXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgFw//ZcxldBpmOr6P51UDiIxxqJfVBG9c3O8Pt1p5VjKy3ASLs0F/\r\nKhgviZstIlFdglCLUpJc+ji1fjdIUGOxAptWq1tZBpX9RpI1w2rw6hZ2vq/A\r\n44FTcQYStkx5nUwUDH+SYa/svul2TL6+G0jO5jkCde5Fmt/d4K0pjOxHDxkF\r\n0h6zF51ivF6QziCZzXmEuXenUWGlTqj9ywKtRSdsDd/UNdaILOZ3SvOl5rnV\r\neuIkc4U4sxsxNwFwRXCQ77ufWRo1c6KziR4/Ya6yPvX+WiQYwwSNqpNBvGei\r\nmwcxNf6QvDOz0JmpZCt7qK3KjeoOKXB+TG+FO5aUf+AK2RSb0+B8ycAu5H3s\r\nioqGnvXp/r9PzJmVuTP8vc8/pa6jvFAKCLp12WZne8Cgp3oBWIb3VzClpB+Y\r\nAZOo6q1+bpbQpnu1VTcXnWdYCFrPl9xvmDZ0+0NJ5w0AFNcnSLjZnh3pY5WR\r\n9n9yaze4rkQYeMJvk2QcoDsi9ss1N0P5jQFtRl6KSD2sgY4yZstTHejpMvle\r\nSKEj3sS3dVSwPzdT39uOjN6bDyE4j0bwchfB31m82jJi7kYjVZYhg6RWsLsJ\r\n0UARD8vGMiaWZMuL/n8ZY0hOGBXNeIzLEAjRUVnMgWqvO2D7c4ePhbs0hz2M\r\nVVD02KGPgg768xeuT2IM51KAjJxwhoT61QM=\r\n=K0g7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-07-02-00_1675758678365_0.21867380239852596"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-07-08-54":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-07-08-54","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"eb55bc92295f614fdc84f89c0d91ac52b6768a81","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-07-08-54","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-/6FB+lOVEt1jIXpNJUh9c527Qq2Bb4fucmTxLN2GPBnVaJmfrHVIood3/d/A7Tj1zGon5HiHzErqrqs/hD5knA==","shasum":"d0470c8f6a1afb04868d625d3ea0d09827f0eb48","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-07-08-54.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4qouTMyEbn5y/ioBK7uaLiFClT5ardnh+8qjEKUq95AIhALljujTqf9YA/K6m6BJ060pz1CPdztMHL9/f0SRj9w4e"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4hHYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9bw//adlTgDPMNpTIGBvXWAXvL1qZS2lzcQlWZj7s3XL6dbaHUVN0\r\n/DdlC386Ll3fsYRUIjkVE+wF/pMQ7FMTfU1OnXegLC7Ki6KNESE/S5e0DNq1\r\nqFJxySnLvPekpUOExAIMWlCAGZovWtVFD67ROVXpj+Ow1gcbtD6nkbcIGXD1\r\nqn/DoFv8khYy0bhlCmNsmjdY2NVZ/NfL2o6DB/0vKv0EBSE1/9jNkCeBn9Kf\r\nBKFNA4391D3a28Y5t/6qKeHXLaMzRYwWZX5GWeysdLBjaT8nHWYJ8F6kW/j1\r\nVFrTHED+oGE1zR2X+Wt74NxEhc85aiXtx+ecSXv3FoUZxXikT8rB/Hn31mRu\r\nZr8pxTW8HBodMNPIXecbo3B3tyEK6kVlDvo39BBSnvt47iiqgVVNX7qKLMM3\r\n0k72t+CoYycMLEotHe0id1Uv9CRheyEVu0pQeCYDpYRLo/k1HxUZSco7EEWU\r\n/KL418qbvBnaKXwP+HcjkHo+4bMOGSMCyQzdRc+Fj3f7P9yu2UQymJ0whdf3\r\n0pPY4fAlfNaQJ2fMofrvU0tp0npdLwqDWewHb/miwKT/99uNi9sy5lCWw67h\r\n9XFeoZxP7X+dCCG8MZuHx/g2lN3192rme0786AREB1WEAAQB3f56s7dmq23h\r\nfb9yFJ6HaoXYucfXjoC0E6QTn7wE34hHcPw=\r\n=nzok\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-07-08-54_1675760087995_0.662199544926692"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-07-08-55":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-07-08-55","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"a5168eded9a14a2cf90331830c55848fc578296e","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-07-08-55","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-MaISbDTFHVSoil49CGY7YDZcui7XkArmuy/nlUzgTvG4GObubHTQFTe37oyYrgPkZKDWZplYRqKIYri1bXX4zg==","shasum":"7f7d4aa2983d961e1ab63b0fceba50021addb08c","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-07-08-55.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQ59OYd5qWbnB72vAHSQmgKzuj/rLIcpCuo8W+nf3H0AiAP8hjN1j//gTSl6PYCTov7GCY+pl+Ee5qika8gRwbjHw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4hIBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqi5A//V2OD/iJp1lp6Ze9Zq2H46my5JX5cA6nXfSs/OdzUwfkwHvSN\r\nq8ztlGdRjfCqpI9jRFOhuNvxPfn+fJ6onreZrapP7BqM9lKVtwpJbzej5ioi\r\n6X2WJXEclfReP4z0+G/uxe+2sr40wpjIlIpweK5KsyIQ85bjf8RhnOjMieFE\r\nCeaEKZxg+eZ87k1oq3cXZyoHenI3UTLLReA0Lkm6m1ne72NcgpBDJj2KfGIw\r\nMkzvMxpbwkHJSkwfOtTkOlHi/r70Xou24fNQ6YcdRzlyUqMKDM4Qt2DJ30Op\r\nkndUF1ArPFAvVs1KTHL/teMJiDkmtJXRrtdeu9J2umZl+ZrtuASHweDuCsyJ\r\ndhDlTN1GKJgs6PqJmUc0nBp7V4osESG2fgU3MUC89VTfF4wF6PDSsp+CgLEy\r\n6OaMk7Wv42HZDwLoRDF+W96fido5Hiub0YRF89Zu2jd9Iw75yKYtbdnG4kzz\r\nz31Xo4AkevJHXmG8NsytaemwRrL4OGz0xB9kBh5QBbQyFokVIsRZJUHyrKmA\r\n+3vdofy6DDAcufJowpdxbLL7fOrrMqxZw1L8kX0YJbO4sZhp9rFHsUROKx7t\r\nfoiZfVXq+cTrQgXVI9KG0mwMHU2TildFJcCSyy8w1iRxubpEs96LCuYHva8K\r\n4TwMZAlxQkoCUlgLuvjcvYlVrGcXvH8bV4Q=\r\n=N5bJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-07-08-55_1675760128720_0.5687316550468862"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-07-08-57":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-07-08-57","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"fcc288eeb3841149ebddd0f65e0746268c22b805","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-07-08-57","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-v0kvAZyIV2BvMDf325XgfRoOYt2Vfh0DxBBEtlVahMevhktLpNk5Wdvtwley69Mk+pnQsQlX4YwZe/GYmFkdvA==","shasum":"009f950e59218b385c2acf61ee3516f0778286bd","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-07-08-57.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNKtltcqsgFUsbbrycmiasZDFABLcHxwmtLfhWYlB8JAiEAvzZcgiwu+Dg05e5XxIk12ibu0ijQ2W0P6fBDfvoD3tY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4hJrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovrA/8DbklpPDC3ZWIhJeoXRi9lTaL1KTSJvBtznvQ6bM9PZX/Efs7\r\nSjVJB/uY84JYVhrebXeagiXN0jzfeaiRc2GeQ1fXFXo+R5FIRwyJkLfwnFHA\r\nqA8p7aqo4S33tzOiTImcIcnwy0pAHuJ7mY3BjfNu4zOb1QdpYZcG174Soz9+\r\nDMreDcidJx3AsRKCo0BUlbuKNpk/zGVrGmaMbvXFfpVBy2pE3aT44EhjPYFe\r\nyiIvol/SyOK6Fmx/cd8giPsCQrVoiVAWJUmscQLOnEClU+1ufWFNq/Kl42+e\r\nUieuDs6q7s83YTxXDq0v8AOAw+vIuNay1GwAPuSUv7CaUKpclLHqqpnFIqLQ\r\nzVcZ1c9TBq+5CXtyXtykUJdc21cS32iiNZePbfbDeBia+htoMPhTwp/j6XQu\r\nqU6xQmxlnOcKcdfFOw8n5coh+tdHBZSEOJrrXllxDrwRzDACz50+/GyUk/79\r\ntK81MtxClH4DLP2p5rQCf+yCJw1ipm7HtFAeJWCAY3rUGXPDWqgIM3vVlwHe\r\nhI5/hknEBmLW5Fu8XxQQqGHCqJVQ9dHntsgo1Jt+HctvOCZUUsU54zlIqgxO\r\nVwSHjWRO7CfaqDiAp3fyWgR3ZJefFWku4e+YO1P21GPURokR9OI4ia7TjGY+\r\nILB3LqdcS7ywRuwtR64mwsWpBc8k/G5YFOI=\r\n=EfVm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-07-08-57_1675760234934_0.9832956599115734"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-07-08-58":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-07-08-58","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"f00dad22a2d581aaf8b59dfa1a1fbd70f9aa99ab","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-07-08-58","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-3Y0lgffX/FRZPJfZZMn/XO9T6/luRL3LT40MohyMY34W0829Bj6LM3ziBmfRserJ8JL4BtddMJh96Yofj7vXnw==","shasum":"889b8bf5d32ab8be2e95ab1434d9714ca2e67d64","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-07-08-58.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxBFwjVtaLmK/cfCAxhmYaDVTqG0BI+S/FL8ACBONNxQIhAJ0oRidZZuXDm6BlL2BGBsGgQJSZdCi3gEQBYcfD3NSt"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4hKgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMnw/+J43F/AFYd/+hqKht0IsYK3aMYo4SX6ejtutcucYzpP8z+m+e\r\nMdfzOeL0YpRsN5DFbNB67AhfN0fRTQObpP5HRyex0zJp+GvGMuXrrNG3IYJD\r\nQ1mqraDA5cQ46h3T5rKkQgJGmi7+Gby6tL9Ragn5C33oA58inntOy81ZylVJ\r\ntGV7PCm8FaU9BwQnE5gJEcblyec6AfZmTSrYIYgyXZSSCyF3Ak/qzzS5QeFB\r\ntfamqbNT4d1dEABFYjP6fT1YxoI+nzX+H92XjdpbdQKiFpbgrMgLnbjTTXOr\r\nPEeNyxxBvqoZClggsrGhzLpFObxlwjKYEbRN/Z8oJZPjurugCpw5YbcWbaCI\r\n/lcJkLDQinCYCwySeU/dgXkiseQLQwg4h4XQ49otHQVHa595mB/HPlbJQ1Bc\r\nDYtx0iQyzb3GZmfGAtHnaq0bDgL9WEpTEpE2FxAwZrqDots9qDGEvaOUhth6\r\nqbjpwnauLUrKGPLb3lWRSzfp4AZHmrto+50me0CCXC64LP5jx3yVZfLAe2IQ\r\nqktCiASOpfCxIiAphYv34MX9hmD5zhMBoprgPUhejIuhcXQymTjAWS5VvSAx\r\nNTWUjbjXGlQ+H3VjF6gUxJlcfIsAEm0470BtpPvS5zqd4KCB4QFVi8NeynEr\r\nWM2gxD467rGajhW00108AXVEHDESBR76/6U=\r\n=Yief\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-07-08-58_1675760287835_0.9535417879185486"},"_hasShrinkwrap":false},"2.6.2":{"name":"@usama123/test","version":"2.6.2","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"0bd0721edaee6c80c5fb0ae28c8b0931d1d85918","_id":"@usama123/test@2.6.2","_nodeVersion":"12.22.9","_npmVersion":"8.5.1","dist":{"integrity":"sha512-6rPxrNIabux+d+sAVi4ZO1nVRkmWa4tgH5NJVdSmPEIyhLwj2xXgCVv7TY5UdY49q+wXqm803Y9IBM63VLOzkQ==","shasum":"cefdb41f147721c328d68e63f0fcdaf7dc8f1ebb","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.2.tgz","fileCount":157,"unpackedSize":61630265,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAl1mH+bbRptcPDE7i6kQHdZaxq/nnzQBI8zoIgk+ieWAiAnNQY6n5c8VZX60cCLtS856t4yl2x9i945U873DfLejQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4iL9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrjjw/+OTlddT/RdlZptiRWLjL9R5YmUaEjW2RkqUj0VXlVQ2RjMyw3\r\n6vJGYXX/qjuA4FLQARVGBSAJk7fXddChpfiNDMCZyap41/uDlDaGsdM37jlR\r\nQO7euPaBEjiuETybSWwsN7An6vZMByGMrjvAHhL47c1q0D6cw3R3Lfw5BKby\r\n2SYdlPnQpVl5tZwZS8tUqRv4NZo4QCi6Ba73nIF07UNOiDPAILgZZTaOYwPm\r\nhcD7mWBzlDlBySV8BSNhCAjGFrL6j3iLnMDUD2Xm1tERjj7ud8or+fvK5qSJ\r\nhUhS6AcMl3slamiNDpdVTDlGbwtAzh14UryfQ6gyNo1XNfZyFMm28om4FE2L\r\nBYa3tVzIX9cZpGbJgTjwLRPPxSiqx4I8lyffo2f0dfya1A56Hp+B9Zi8e/IE\r\nmxZ0dcNUpadoDnRF+Z5qhTpxZURXlbLWv81mHCcysBbokMOT8hsSyKHsgqr7\r\nhtZH7dh+GK5m7iB9IH3sgWyXdCCYCDdAt7gbgEPJb2kNtnb7ClwgyO0+G7tq\r\n0GCnYooIKVHJzWJn7UlonuDgm06qs3UPy7X10v15Dy8ppf9nece+9G4qbYKK\r\nPqM/y74tUE2lPceX7YJyy1vLEnAEdEjA1LMFDwdxpEZlieFQGXVFqTw23AHK\r\nwEK2uqxvjy1w47ujtU2I6l6wRMtl6e1MrKY=\r\n=0Rzm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.2_1675764476848_0.17422903621900887"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-07-10-13":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-07-10-13","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"741c724a01badea4ddff5864cd2240660e3657f5","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-07-10-13","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-51Q9iRYWqvwzc8FnZplma4DtkWnXhD8xi/ohB5d8+wUzIarOiolwRy7V01oWwwexz9CYBq3L6Yt1WNqoEczc4w==","shasum":"e617a4e9c2c2d06dc49b43a09e8c0c48539b01d5","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-07-10-13.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFpkr8XxlEXteLs6Mz+KmP1KZv0sZgjOcsCI2N1rCuudAiEA1waMlYWE3sRDKBWFiREw2Ob8J6lnD8TqtqfzCF1aYMY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4iRHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojGg/+MYO7TGIhpSvZydQmJ4LaHdkxEvSR9srK9DWV8Fq+Ruqhhj2I\r\n/VDCO3T2G1weICXlEddnP1eER1e2VkTPCmzbPkgVPHTtdttPZVfVFeQV9Efw\r\nXd7FSFK090nQPoZXSscci56ApXahD6bV00VWEM/S0kcjcRlkYclfRI96dBSM\r\noTD/GZAheiDQFTjyRwKl+f0dYxbdekqHbutSqi43cVn81KMvcJDrVZxuRXMi\r\niVz6EoR/RH6jNKHXhn3a8XM6bU2B/Ei5MKe/bDAYnoP7W+PC1k6fMxQRD96t\r\nkpFA0RWhhu9uQGmkWVL4pkc3Dt2c0+9ToamqhxRsBoDlWd3f5JDMc6+XizqE\r\nujQw67enGIldAP9I83ORRDjrIUNyJrcvdvR+F3T3jwTMhHddsZPpFo0+QEi6\r\n1oTjysIgL7x4nMSxy2W49xWZHCtRO2TiUeaqJXf1DSTel9VO9DvfbaHgwlNx\r\nrThxniVE1ov6qSSYkD4+tWAKNkTGOMpw0dCQU/7pIns+CXdCqRbwhloTAh7C\r\nMWNgvQEzrT1Qkqd9KwuA2pU7fIVcKfGHwJdQSxNwmoyVAqmq2YI4ng+Ie4i0\r\n6cX5hk6JFnG275Rs0SqAW2NBdgXTJa3laRs1JFVhgHT8qOVfh8/7PwooB0Eo\r\nqLOXCErWGb8FSSISsq4q2ja2s008xY0XMHA=\r\n=zSIT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-07-10-13_1675764807322_0.0493385594410809"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-07-01-08":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-07-01-08","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"5cbdcf3bf9864867c36e7845d7b989e259734624","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-07-01-08","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-GZkDNteZSte6RAe/Nx7AxEkshJzxckUaS3jhrwHw3wFqiV5VDDEGn+1L22xLSviARLyFZ6oXEdD0Zg2eW0EixA==","shasum":"1407cde467fc704b9a86d94078b6364a87f9cb90","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-07-01-08.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEzHDnGx5vm5LxQDXvGDhpnj0aDQBknWw+F66/QXaFCAiEAzkrOcv3qtQ8RgShWrrH5o8NJala9DUuT5Gj6tnH2COQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4k1YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLhw//Vnsodtmrdxyslut+k+GYFZgfYt0gc0/yerrb5HT3Aoqtw9Ii\r\n8pdcRbAhMrqoAPCAYDdeq6au5fqIlXMI66cEBhZivwIUo85x2sBNxvdvHxfG\r\nwT4RLgUW3nYEnHn4YI2TwrjhrneVYLRIXu9rDlPKmF0GKCC1Co43qPir7EDL\r\nwurtrbtoL+Oi/GxhAQA6VmQ42kIh0ttSihSQWHH02U6/Zy2zFkX7WGhMbVqJ\r\naRzuVg5Qjrar01bgcP3i/Zo0McqZemgf/arDXmRhMTfEEt9mDlWXhYaXfDGp\r\nB2UUiiPT7cLCNGrj/j7Z3Xqn/st0w0ZrqGkelxczb8qmUufS+vmv5FdDqQcm\r\nJGJK4Md7mxr61xQLiqg1DF4IyCjG14T/JZ3HkvEsSK/gZcNnmOBpXlc3PeHy\r\nfn1rO3nI/bmyyfQ2aKZqXFFnVXyIgadL7d5h5zAwfKlrAkly1vNxedzxxMot\r\nt3RAHz1xgeEmxR6q7E1Lj22+f3dT2MtFVq8N2d/PdPVJnvSWudu67HSFMdQs\r\nv0aQFeENc3aiNAEnnGFPHpyDVyXUPrXw/W12Hvbl681ysxhwAZjBwGfVY0ij\r\nBGO0u8zkM5MtbLafjWX/yXWIwgVE/OnYE6ZLSCSWIGH3sKyPQ7zFQJuH6oxr\r\nbgLvupappLRN9kAmUkT4czmwfjOMxutRikY=\r\n=3XDd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-07-01-08_1675775320506_0.4431505580488295"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-08-07-10":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-08-07-10","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"8c0d9301cc3fd7ee12be56973bbef7d56794119a","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-08-07-10","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-6gZ25PLtz11voh4RjskGaVgoKmqgcQZ2YQ04K7EajqcoRWjuywBRLmzhDU/xCeoWbFu5xyaJIfBUKwmTRmjGkA==","shasum":"ff3bd6efe87256701b7fb5bff55e4793ccb721ee","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-08-07-10.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGG1vyYoFwt1r62HaK2NLJ2jVHd84X+cPXJpq+wo1bVaAiEAg4NrIwyI8ZK3l2uyHQDP43mO6rag7g7ZhOZhkh7Zadg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj40r9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrong/+LliRo10sacZv7GMhZ5vxMXHnfrqOM1Cm0yIf/i/TQWm/NrgH\r\nmn+M9g23ljbL+DYZJEHfTyB8u25PAeFfM7HMIHXtaXGzAJEN7V44GtxE7VEx\r\ng4ATyIgs/mwgyzdfVThigIvNKCqbIpo+nwoVsvsZPHoJnhdQckYnTHu/ry3x\r\nesfnYs9tcKAIAyY0m16d4KYDeN2+DTUv7ijYaUDSi8p9vVwqAV/BG48yT6CA\r\n4CiesrWhXVqF6qHly7AhhIakWLpb8FDarrQaFSAnv/cvWvSxqjD5WDWUE0p4\r\nVZBk74XQWfXMaTz/45J6iyQn84N64cNjgtIkSw109CEAcLR7Fn4tDL/mBN1S\r\neihXfIO/XwBnLa1hCDgbTycZHwk9roB0xpnN36aE8GzvDXsq7H/88+0W7KlR\r\neQKUzknbOlSsOjlXcJ4/oWDs4d+4abpEAuTAStgfgd+QgsLYBT1MF/ppa0ML\r\nBx/nvoJCBihziv8+fqF/bQhkgdGE2SPrOWPqC4xT2C4ptSjMFqaMR7BUrXfC\r\n/G99LGrOvgrGX3obsGTf8fh89QVZ0PD+b8LjWfWOVsC75bE5toxj46kDC8Xj\r\nziqRyfXTqruf50yJdR3rQDcrDeB3ByRe5a5ftcbQBEyMBsNrQ0zMh/+5dTI6\r\nCM4ybpCmIrxHoib3by4OLRsIGyrQIQmihV0=\r\n=sdWk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-08-07-10_1675840252937_0.9623045302319615"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-08-07-12":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-08-07-12","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"e633262eb15a55ff2768feb34ce04952257dd246","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-08-07-12","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-FxGV1Dn8PKcreKZUtjVKxmFTI9APER9NI6HmfaMLqXM8BEQYv6nBOEfW6iCi65oVruAVIQLI5GprE1QELs+n0w==","shasum":"f41e777d8675cf351d4a66b4fdd0efd2ce090c3e","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-08-07-12.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5oitBpWw0K2pnZhVIXtP/njkKT9RF7j3BjRtO7RIR0gIhALIfV9FqftuYXoLi9+UJIzAHFuP2lnpz0fydNZtX/gF/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj40toACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAZxAAkHjyrVBDg1I+gQkutp6EAlNJnkI+Rphh5BtYhdIOsCDbIEMZ\r\n3rh1cin+2s61xqpvZywSZ6BtnGcQsagU8SDgwtXor2TZjmHr/+dk2cHAmI8M\r\nnwKg0EKEd7/TCnxwRgh/thd5nb5SybPIK2ZyKK0RyynSqNHgSlmtcjwtHFz4\r\nFVlODpfJaU2jBKcHr3EnhpRfuGBLEl4XrRNXBPFw5JWpUibbNHSe1+274CrC\r\nJ8O+XIYkes1s1pURPcnwhGUuhEtVkLJrBgmN3+kdxd7rrKfbLFmj76otOTYg\r\noRWWXtxmhQ65qZ+GTs4uZn6EQjZo5/oQKLLF3pTkGIldtGiYxozpOXhN+hil\r\npvIav+UIbKSva6sNE5ShxpOuw0UBp4wZpF7P03WuFjL4Q/uGg0v4/3s4/c5i\r\nbek7HuHidJ4eSZt5uogado2VYpHmk5L8Buy38XpxSjnlVwhCTFu+KwD9yU6o\r\n1mTNesCVHyhfCYvkc66mj6aM2z7zZ3rJjVG/B62KVwi6s2oVwJSJN74dc+mI\r\nP2Fkst2yHrBfSLVQ5Ps0hE2SA6SWW5VK1lXiqR+1WXA3hLEe+KAustSKjbY2\r\nZ5n5/fRIgxIH1J55nB9OSCkkcRhp9S5S74lGIwB77My9pck8uFlv6mV6+s5V\r\nGkjvL1IwomCGRum8Th2KMlz8D2mRzIVlfJ0=\r\n=Yq9f\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-08-07-12_1675840359751_0.6634327939632825"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-08-07-14":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-08-07-14","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"d3f6cb8aac6f64c9b953890b57a865b9fbb81469","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-08-07-14","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-twWtMAPTpA37jRriAaSPIuPnIdql5yokf/YvLCx1HU5Q8O7Uh/xh43mzlkCIH8AmFwGZEKUlczYG66TN/eFIYA==","shasum":"37f2cc3b2476de3b083c146d2deafa8cb5631e1f","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-08-07-14.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeXyxYGGZrS33FQfcJfzDpn7IjDLBIF4DQyS9XATdmWQIhANKDnw2JrFKBSVkvKOw4TEu4HqC2Cap3qhyuk3lHK6/t"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj40vbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQeBAAjOfFARz32qPulWkGKqEffH3FAqL6JPwYX5Vx5T8nPiAcdbRp\r\nAo91kI4ki0uVElhrTtLADHi6XMKPrkZzHyaqbD/8/R1LSqwIe9SRmFK0S5NM\r\nke4H5jU2scVmM5uZixiDDEdgB3l37bjWZokg9vrZr3LLSRMLnY+YxMXwOpdf\r\n4XkseE+wJtyp090JdRSpKswplIIWtARl9Fk/xbT9TyAqmqLCnZeETvTkrLWj\r\nTYk5v1Se/BjI8QYm1T924DlAVocjz2AXAR8hxd6SXB985UVXTpCdnQOIOnsY\r\ngRsq7843TdUaiDwEBVfvOcULMqlyMZdm+/jw53SeY4h/1koUV72yJbjo518P\r\n4EIyqtKlJpqDVyAeO7FrWXjbNhokRFpfE/dl4rnv8+/N2b+1Erw12eik/O+C\r\nTgJ+/hlKfmT89es9btlNu0Qe3Ib7uPfvO8RfcHJFxZleSa0gRIzgfrwlwxrt\r\nt5D4Y19Tss6qrcG5hnDiKJTuDp982BGM3pO3pjOI2dQVSJdC5R6BdiiNd0KJ\r\nAmED49Foq6kM0RLsdWA6jsxNNHHrAen+qBkBV8g1Emd5N3DKqyERsSSZgSKc\r\nc7my/kxSDAo502N1UOfKb6f5Slvif98fPfjukc3LQmI/7PXRYLWjM8EP5prN\r\npdMqLnnJ0xT9vHgf021yTG4HReuPAPKqzBQ=\r\n=t+DT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-08-07-14_1675840474920_0.03728059811943529"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-08-07-15":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-08-07-15","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"af13e2c3fd4af51bcd05f49213eb956f668473f2","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-08-07-15","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-i1tPVbR27nAyLv8OCND1EJVQ+sGpfvg/yPzYz7xVEybzi2fCOR47VeVYkibYFPSU23PiuM6qcKGracglkyxdhA==","shasum":"e9ce56932ea18d7db53dc0a7d66c5b25e54f4a0b","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-08-07-15.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlvxzfeTMYLPiv1IWOz9AWTolPgzoCG9tevXqI/TE6wgIgZt9EptPAYnmihwemB/DEfA09Wm9sXDU8iugWGeg3PoM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj40wLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEkg//f2U1CvEyol6xFISTHwmtsSNM7I8gRak/uz+rbE5FnazpvyJQ\r\nUem6wyy2+A4Rkt3snxrIVf2qiuHbsG0Xq3BlwROFsFPMaLFQXWR19FYJcLLl\r\nX3IwC+3EYZuW3JdPhWiVqJj5iKzWU52MNZ94QaM5e0f3aqwapcRKG4h3xa/a\r\nbaODOeUVeKnovny+Fa4g9rOIjL6S1P9O+WcMNL4gxmGL9w/rJZ1vgGHy6CwH\r\nrg+E44V8rb68wo1VI+vN3M9f14DCthTUJsXfQ4kH7pPUqrsQxEbk4iX2dx7X\r\nzFAmuu5gV4X0wbNIXx4i8sFfft0xXZmam45FX1NL9ThGImcsvgEeZL4yh12G\r\nR3mkshpjwwGEULUx2bqchsF2SNkJbjf1XQ90Aub6k10gnnm9GsjwGe0zfD7+\r\nwnxR9PTYnr1MVrO77w1mIkIccqI1/ZRJ3H68rkKgKXIGxUxBuxYZgA0PVMcR\r\nJhcJCzfoqSIpkDFL3iQyXMToRNcJgh1zkzmfWNpSYZawaszTGPipW0C9r5LC\r\nmwL0rCn6rMeQb0b7QNsJzWjsMaZVHJkOwR/YhYVHwvzPPgqS+t13unLqSTUA\r\nHwChEHHGszJ1Ygf5pjci6n+Yo2uabY1Hg3YF73evtq1p3ltWDujksvOXUWRL\r\nvxH3j+A7YRowtedJNIB8y+vY7FJHDYiWFOs=\r\n=HOVC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-08-07-15_1675840523123_0.06943835660102016"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-07-42":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-07-42","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"712643b48e5867f71d0770cbc4f3619be24fec85","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-07-42","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-9DJtBZDAJcWmd0I5f4mBYF3HRY74FxhlhqXW0toOThP3zmkiPyDk+BCAqddndjdKDYCUSZicj3zFEGVwx/AjDA==","shasum":"f42a913e2e63d89743dabb0d14c53bfd0969e191","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-07-42.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+8ntMXT42/JY0N2m1aTJ3mE9bG4vf0O9vSQtLpkYHJgIhAPgfz7WMxDeG+1YUk3BBvWJWh9YtY8cIdyHW+m8NH3UY"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7d6CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+xRAAh2atlu9S8J416qtUEkgK5l2hbxTHyx8wrLmwOCajYzqmzg3t\r\nhcs7TyOpRxLJydgJzrjFhiKI8FfqI0Hhb6nKmHTl6cEMUSI10bEQnBbUH1q8\r\nyuafHaoYwoTIdVwAhyt7fuMTcR7WT08s2DHGt4pAWKdmUOvG0e6bGPMFrqWd\r\nDTkHW7LaOllsOOWu9lCpHagiyXtyrOER4c2BcQgHBdKyroIwzXyGkNk5n6ko\r\naousVJRA/ADxggzSyu3VoGtFJcpHP77fytpZ3BinCiQIDzp4wjkF+YE4RUhS\r\noIY7evn2U2R4gWyr5afDG8Yx/fYOCnxA4uHwPY2914k4HgPsnBVjdgcMaeC2\r\nBh4VdO4R/mymlOjOmouAbto9axFwbuwrY09ywVUcbcAsYp7Ie28NsKfVj8da\r\nzWv8W+d4wjCZMxWU/unvf7HtjUSycWuS/bxoJFcy2pPQ/vP0/XagL5IARy21\r\nHO+WeYOW3dJdfib9cP3ubP04ZKXugvTBtNR99T7uBjpFdSKzEBhP1gfN8vuB\r\nyqG5R0IzQpYu3pkxlA6dCjylQ2Cn1sLgk+rF3m66tE7Fb+4TKBWuftg3WasR\r\n1xmi2RYGXCy6um+EXgyrA7IH2PMRKASss3sdyiccein+oDV8pFTKbRj4o5Et\r\n4ijbOYQZmByert4X2hwyUEQL9mqdUC/mxlE=\r\n=5I56\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-07-42_1676533378041_0.7431507512688096"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-08-36":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-08-36","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"05387f9fdfecbfd2ecb76f337739634ce9714b8b","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-08-36","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-TDWFgKSQGFy3xQfMPy1L/A21SANX99zarcmJFLCLyGLsqebPB9nyvoSA2YNETYSpEaGU5BRm+ktcVPC4ETvjwA==","shasum":"52f876519e29b5c99fb8cf1bd1b93c09f0d4110f","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-08-36.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAdqyrGmVJlM5QdPa4HewQg86tMnXDOYg5uZyZh6CP2AiEAuDGd9bya/iTVod1N09A+elszM0Jr2JlQccsxbyguX9g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7esNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPRA//ZCXJNmcIiQYjMqdLcMzxDCdP03ELcNGj8gNcEFq3T8GPGwWg\r\nKmbl3zywEe/B4y0HPi0MiBWfgPOhG6JAJSYU95CDPVLYHiwdVuE4/L0HQlW/\r\nfGydMzBAtjcj0d1Dn7l8luGdwxm/PBhlH2GPWpFCQmz2EvfapgFWwsH6vgYk\r\neUhoZOfkubKiBorRw/8mu1/RUZVtWSTQba7gCTfus+Rlrb1oVigTbPdwi7LQ\r\nNitOiB1XxxgT4bmuOJeax+UhQPyzsQz9mZujvZJ/sjvODOOiZZktH8z+RnkV\r\nUXwq4i0aGi3hAda/jJK5EHdNclK6YesCPv5qm1OjztiU9s1EKhoX4cVnRJNy\r\nCGIbKr8c9IqFRCjGFxdWvYNMxHZ5s/K3HYgxlPt55rf5eYr8x0rYJKIvEzhj\r\nYXgKjiDjgmA+CimobD8UIY1LdPbzzPudFWO8KzeLGEzqZUglSFrxK+SF/5RP\r\nIeivEmm1IQCiTZkbHQvTud4Pz8kk8ZqnMGKzupm27bu3wU06YSrIslC7O+db\r\nfIO0rZL3loWlIM0YnJOndJpM8rFlkNehOuFkM8WSHRxPKKgBo4Ay10xYJkJ0\r\njTiL/2G7wANwg1bWSxa4ytdz7SQf4wNLaS/BxN2eb0UHDFLZLy3sIxb+2ZFm\r\nwnZ3TWnIdCIY6gwbqi49WTvYJ3k+H3mlfBg=\r\n=TStH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-08-36_1676536588917_0.3199899488400413"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-08-44":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-08-44","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"81528d73f5e0dbde0f75c6a76daf8e8f33d3ac52","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-08-44","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-M7CNow7odierODzZbbBNlo+zDw39L/Gh9IZmv2lQuH5W5iBsHxkodq387lhLVGrrduoLsG1r0+Bj4aD/ykdEYg==","shasum":"30f269542f50cf7ef3ed0e6cf7bdbc17a6da832c","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-08-44.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUW0/YzpXrNr0GC71xp4FTI5v07Om3YbTqryCnzKSp9AiA1xqgEIII9PIMqoXcBKIR/9DsoL1X8/qwvzOeW+dKsCA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7e0IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrk1Q/8DmIZAE9DjmlAkJAgo3BMtZcOGPQTwgAwrbDSgf3WmMxXFhBD\r\nPo3V9nwGlB1t9uV5+UnB+ivwlt+2/WXdXrJa15EUW6tD5zomJE8kvm8xPf48\r\n2gMwNj0BE09WQs2U6dRTLzpQGMofPHg+W7+bNQYTatSjCIVd1y6POm/3mBTz\r\n9TVlWHISwUyRrVE9lsj8swjAlmPr095rU1Y0a7NJEMMPY2ZYYpADUHcMwHxi\r\naHsRcy4TGVOz3ojVuO84+moAsJellsznTs5EY8ge9qEgGRlK8FtYhvZkf7eP\r\n8fodiJeEsoXtI6RzitjhMB0n+EN2WwfugU7ceQHblnwcpzb6x/nfzWW6esGZ\r\nisylWRlIgA+h93DO1XUfECSKPnetDYyIvbVuBrptetXpDjO1l8P7EFugOGwy\r\nS9dYigb/sYqKF4vj2cVIKI6jNWxSuS0HVfyZiZguASRZ7r7JCKl9YWfvvdia\r\n06zaDilEmXEUIo2NNxw4ny0vLTTXSI0cSNnp8tYd7GFQcQQ+kV6Eum9dDCZe\r\n79TDlSGfi1DdPFqeR2wmQUL4Zu2bxZ+NpUwsCcqvSRywrrrp8chSAZKIT3Fg\r\neFGltEWzz5EMOiP2X23IvFCxbnKPrVpO+TQzkreKXbFCL6iii/EvEaey6YfD\r\nPZP8XbWdLA8yd10oUCZSTtUXYvcuEePIquo=\r\n=p5g3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-08-44_1676537096572_0.5785342022806099"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-09-05":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-09-05","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"f9c8a692fda28f4301b50faa474dfab8fbfbc268","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-09-05","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Gxufw2XdkhK+phpRRKaNigoNffFXA3b6GLk0D/vaRgsGxMpFyRqdxaRyQ7c+7qdCPUNhq1uWQtxCZ9waLR20yA==","shasum":"679a27db83984337d22fc18058cabae311de941b","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-09-05.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXl/Kc1u06zZju/SWeMYRYy8mkv3awA9kBmi1uMY6DTAiEAurcXxtU4CwEcGh1Fk9dWY7WHAcn6jQy6f2yJQhFLtnM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7fHoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo++xAAkLJA9ZbeLLofQt1fnatMTaj72HVHcUbte3+2JDGn80JvwnU3\r\nvpBBdMZfJmef3x7rx3NtBIsMTIBmzbXom1ETh9nCvVx0gLAEmTLnPKjq8orr\r\nNbZoH4JnK73MZHj6zv3tJTR/cmd9KwR98OH31RRj0AlcddAdGPu9ulECUY5A\r\npUyuJYLss+OS0xcvxEDoSg3DOD0rlXhBYRJzOv3MA+wJXgwwLmbL8UDX+Vwa\r\nM8WcHLxr/Qv0ZT66heKRxL+33ARYDyaaS+UK8VTOh7PuU9xsd/eBuMdxq1vb\r\nINHjzSxlEPs2gOBg5KID9V1chJMibndoyNkWZxMP+y8InULgu+y6CXn2pSwE\r\n0Hi3MEMfUMQlllvBBkBi3qCrI3VdSUEswDsqnCDs/1ltUl7u3z8T4rBFMkdy\r\nThAYS/2JUfrDQt373U55M7ctKSJ2Q5ewngdjVSg4dzm9PQHTNU4E604xptSs\r\nw2Evst8rbF3jgcXguRhtrAzV1khdMVHog3c16qv4x+jyr1de2MH7TqVVAeG6\r\nFq/6rAwrUIOwyGIhyWyEiBeYmawMYE5kbWwlzCte9M9GN7z3hwWpHmXrZ5oR\r\nGvZ7Zn+N+fZrkjaEqM7lqKdV2HOg+XM5MGXnQ6WJ9/rrnDCtsfINqPBn52o1\r\n2oDOe9WolfiaF39bUtJRqxhX7yvp9Rmup24=\r\n=hgms\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-09-05_1676538343892_0.9762650785540634"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-09-58":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-09-58","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"c537b36eb33a29aecd770189b8e895d10688f3b3","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-09-58","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Yw+66X2JNUQrMj33X5gARyXc4ViWY3rZ/QLbHI2vkWsB9CUZG1Ycbnk2SoEtZ8sVKgDc4IFMt4y0/A6LmsH45w==","shasum":"29341e9e3201b5c1e7913719251df52d4a5e3ab5","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-09-58.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmdm5XuuBoPHSoV5Wy6UjBLvQsqw3qFVgvc8wjdA4ooAiEAqHIMYWm8sZi5LflolIHo5/62PqwTvU8KZlXHtv1kJoY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7f43ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxMw//e4L07ySsJp4fR+rfhZKC6InNiVKzp4KslZe3a2ZkUuPFDP1i\r\nQdP9pQi1NxlxjiGE0VyDvffIZ51LJ2AE6nUeAnujQsnirN06rhgWy0oICGQb\r\nyd9u/rx5JmggitOVTAfZdjzcp7nYECAiUPitxrO9qaHYfmGMMcRJeBP7jEur\r\nzwkiPSS3SDHNTMdi59IbSFqkozJGNTri6wvfU8qd7NmTD7/cwNm6kQ3OeDS8\r\nyThPnjICPcj02yVCYfVmKwH/soHHXSEpZpOSlja9zZYG+Qm7eUOeEAJyP0+1\r\n9gItNVuo8C67JCJB4kqDdyG6TzxBdw7UvUuV14TQVLnRRdJ55RRYVwFzXAoM\r\nnJcxz3IMw6p+vxoXCdHpEiS8tSn+52kLBnJ8002lLFYxv0rCCQ6hfzlIIqxb\r\nup8HflQGcaibh3qThjfq8tOmCNHTSvuMm9oHx4ttvTuEqufnxwWR+7UlU5Bt\r\nqYvMdv68NnOU231YtEXLZCQ+PgzPSZaM2gkcFFDB8vpN2reGlGwDahTKxBOW\r\nSWKEn5L3tK905emhZO7iazzGbxc2Z86Q1a+SuqMP38RkCNqLQWT/BZm4GVYn\r\n3SAT1BXk6SpoJSvOwAhgDgCsu5rFbUb5fI4aEIYrcDDN+Gfe9KD2t0iHdXod\r\n0gjZkoVJTA1QfcVNa/qTnRUCRluUf6Kq8fM=\r\n=Tg6K\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-09-58_1676541495208_0.08948532694514721"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-03-38":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-03-38","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"0bd0721edaee6c80c5fb0ae28c8b0931d1d85918","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-03-38","_nodeVersion":"12.22.9","_npmVersion":"8.5.1","dist":{"integrity":"sha512-c5FUEmjIgFOm4sjM4hbR+Z5vGqNWvlDKzpZJTHzFzmDd74LoYzsTNrKBvq7lo5D7A4ugH1jyeLb1vhVA6n7AZA==","shasum":"578c6f4d2f6630bb63b7da40d1d6bf5b98da8534","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-03-38.tgz","fileCount":157,"unpackedSize":61630292,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZSdI3FQ+JqcUfRACumuSHIRobp63OJaHrkv1QYps1bAiA15//OoGFztM+XXXHAblbuTEfEWbOwxTdkvu1OOMxScQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7gDEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmod4w//TSSENZE6XTU/nU5FVfR/+lzsh+njav30AFL1CWG6iB9kHxpY\r\n+daVYI7IOU2TZZv/thK3Ssn7hfNLT/QlFo/JbCbKvghNzXNVZMx93SBna+sJ\r\nma09CjWUcaHju0o6kmQE2LHdNeTZEeZQMPxNd1LWeOpZY2pk9iNGbTmO+anK\r\nJDABCJlCVfXJTH3TBWFsGYwIiJEHZHFYcis2++jlhhX65qDR9Rd6BWP2f2gT\r\nFeaAYMazkRaRzMjDt30e2oUFj15ifBzRagrgT+dWHp2kq2z24+kQz8O3YLat\r\nfsD+aq7V6T4wdy3opJ6PMRPolcluag1uTMp6VaNsRKaMa6NAY3Ss6LpRPIvp\r\nNm1bSjeHDkb+7AtK/Z8+vA55iIwSUhUjzmDw3e8rARITcJxbkmc7+jX7tKAL\r\n6poaZYBdwP7LvIYfD7umIj1goet7/gUvLFghYlLTTjp6hj0TBM8B/PHAZZkz\r\ny/K4KGnM3+sIsz9ff4+9bmHgFy8lS1QIt1QdDJ1d3QbprEGTOeGB2daDQXJH\r\nMDsPIy8cwwFk9ZXYAgpW0rmIw9hU57nS0DebQOGtfsq2FGMDLMa3Pk+8NHG6\r\nKK+zbk19XSSk7HhGJ/ZmBU4B7SVnVysI1uBaJ9DzK3TXrKfWHm9a8vSfG7Sw\r\n03ku6iDhiBuPi7+fs3/hqx1q3nWc8Yt/9n8=\r\n=iTNj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-03-38_1676542147844_0.6248709690020844"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-10-35":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-10-35","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"f4ed25922b5d91bd9b6d6700d58191253c35cb58","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-10-35","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-5iRConkIzJ322o2AHdnJx6qBF0GzWy4ABLOG737l3WxXXuaHaXMj3NalTPQJeZWzExQUa6KZCKIJqmtsodZpFQ==","shasum":"31bc989d79dda65372da5ce42fb8937f8d87b35d","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-10-35.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4NG2F06rQkTK/ut3E4MAcaUl+xDbqj3IVa3Qa0aSVywIgHgBOK4NqIVEUiSJK42yqzCCwiPGwaMcLSxHt/y+K4OE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7gbcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmobag//ST3wxCzvGq8yytvN6XBvWhvLDR25HWVMuuOLe4+k+0i+QF3d\r\nZSUOsfJKBgPbmLDg5PxXkh980FgkohBeFSMQrwkYJ3u0XKbpsIvid/QfdLde\r\nl75RkAoR+D6LB2abWEZ3B11YbYGNvr9DaZUrX6yjaSPFLgJIQQNNakIbi9kN\r\nS2PVAc0IzFajQGe74gMwtJJIFYloXkN3sjxrKR35g//3ceY21PuFdRdlaCuJ\r\nSCy5BhQ/Te3tVxo39rB8Et2WO9RpsVbgvUayWVfWlfxXUBC57HbowZu176Rh\r\n6JAjxNnNXf0gTJaxLKX08dzSlVwBoq68xUJLSlsnIRppMzOeefRc0/gFmmzT\r\nQdwsJyz3uacY5nR28/z3o3ffY5VzOLiZnEPjQNiLVNtIj4PC1rxHCx+CDkaK\r\npOB9S2iPgQRm/qJw3MMYMcBOTFwYH653/B07KpH6xcASvy1p7aQMFeXMuiiV\r\n3HRY7Y09Yqdmauz1GdsZqux5a9o9SZlpg1oXqzHEPk/GhdZ3WZmRQfyGZPPt\r\n9Z1P3aYmpj8OG7uLb+XkWZi/If9dEYV9Ira8RlxT3gw3kOgN3QeZ8JCNKRkg\r\nGtg7jopFxh9tcJB9N2SIbpLkt8ql5RI65GWppCBckUowU2ZSm91Am/o7OmrN\r\n4AWd8tMzu0H+mSgd9v4RORftOopmMCK/oRE=\r\n=BFZt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-10-35_1676543708298_0.10432908644737604"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-12-29":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-12-29","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"263138412fa7c971e3211e22a5f59c8d679cfb42","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-12-29","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-bGYhLTSxm9wtu/tQUiT4xk6y+F57J13wbT04REJmFGDN+jriHBd4ellAMdakaEVS23lUCXRGwehRggjSsTcTtA==","shasum":"12aef03dd61cca6f1611da6bb0c2c00f23647c95","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-12-29.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH7vcK6lHRes/Mtss4l2TjDAzyNrGNmGC1Eb3JXXEmiPAiAmifDya4qFM/7LVCvJib0ZFLM3qxGKch5k8oOX2u8DNw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7iG1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojkQ//TWKLdkOWOMS6MRhKEREn3SLbkiqezjKAxwFZlRgL2tk55cHN\r\nT468GveZ7XbF/5EmK2foSU1CVhDDg56VkDsQYg9MaGNWCi2ytdzuDb95ldGE\r\naMI8/o/d7iHDhk8X18KA6aRkmC4/Cqo6L83YsuFMNQ88j9qIAnvq83fSJ7gA\r\nwF4g5qpSzZnynB8kqIgSsxOFn1OEZfUXGclmWcKwJrlK+vq+mc08cgqEQQd4\r\n4VlgV9vkwGk/hV60IYTT32t4XyzRRUlrUpfpZ3+NacvefMdWIeEaAcMLN1YL\r\n1Pu8khnYyKmYBLUT6+ONXePlPZ9eSQyCqQDzO+4bCPafFhvEciB7KZpkL83R\r\nGD5MxuOfc9lQMSu9b18IENGhNOBikNj06Rz5HevYLHwfP1Jb3QFY6jh0cDZP\r\nbpS17GyMThq+++j/f5l8xKGq6oLzqij4H4Z/ZFHDDfX3Hdum0prGVOZuwSt1\r\nNguKjFXv04xID/Rektxeh7+H+u3Sqr2WCOHXbUn1K9QaCOdk1/Yru/4rKSb6\r\nXihQ9e/21wDoZ21lrBIXLbmZkReknRQPG79MvD8OMw5zNLWJScvEpE3XNnmj\r\nEaZRwQuDPpz6H1SjPpHWbnQeb6IQHDfKKs6BDkk164Xwyux25U5JFm6ZhX20\r\nNtNAMrfo92R/9YeUqr62A8bJkKpRpPKVvdE=\r\n=hYFk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-12-29_1676550581218_0.017126269131771288"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-12-38":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-12-38","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"99d38ab4c0fe586ed200a2257e2baa837ee1b9e2","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-12-38","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-NyVkfoyPVLe1hWQcNsnnPoWTTXPsssL93hwBdYZs7+nphGrXjhIb73IJsc/vPRXF5/KuWMDTYmd+yjujQDO75Q==","shasum":"f90f454898fa9a21bfbeecaf9cde1d34683b55ca","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-12-38.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHGd8KYuqO0dCZTAH9djq05aGZ3psyDj4vp7F3U7IRyaAiBvbkCBXwVTR24/Ml5XPADEixgJ+aCAdHJasJNTV2pXYg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7iPTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpovg/9FrSYxJZEPv1aDQwjlcFHH/BieMcaFs84RlCjaQjzO6wssRNi\r\nyXFHAZ/j2bfa8xDxtRyujqxBmfnT51HOewTT/8XoWQD9aGihqTTZC5AtpxBQ\r\ncWF5RXZO9vREB3VgV7E3QOqAFY0tHQQ/9vJzpgH7+no6ypHBJA41asl7+K+y\r\naiqa4FNRA+UDz3hnA8Yep976omRVf5anE2HfErqsDx1rr+/Pv1jCQc2RkKhG\r\nXjG3/kgkKYjc+vDSPBZ6Xhxa6y8AVcs+tNWoB9iFXBtAssOmggZyPyZqiWu0\r\nFpakHTVPAon1NjNRXaEJyygZj5yumOmzx7CvDB7UjlsfbIKYatMPyi+8a2nO\r\n7LB/knZ7nH5CeR1unWiN62pDV4NpnW9WFd36YT5F6IlTe+Kb+2AXSk5tqUwA\r\nPW5p+WNSvxcEIq4cP7x6C62sAU/gd/sAKNrPwuKJo2U1Uxm1sNVVLrdxcrZe\r\nILHEPVTU+MoheYYxjaGNLHyEIqn4z9jBhCh+v07+du4RFe80f7/gGjKVjTA2\r\noZ4KnMwha+fLt3m4XZruti1lMoU11u8IBfS2N5IrsyXJkS3RWhj1Yt9/6rjp\r\nr9t5UH+SuVcLcpt97AA2nGvU2TXH0s9vvuLbdsUBMjahkjf36oqx4rNdk4b2\r\nkmBCkbhqWdylMpPHn8ukbK8TEXalE//K5LQ=\r\n=qd5U\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-12-38_1676551123092_0.3563497274556424"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-01-08":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-01-08","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"73bcbb0646d478f4b000f1487453e1e86fab26f4","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-01-08","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-/XfOfN0Pziofc2q8q9cyeiwbyeWOL9BePxdkL5Su6/4dXHs/U0uvEyVoypdoX6gPIk+vhgcjRKhrs/D8JnoGaQ==","shasum":"0ea69e9b36de362822030db25a58edcfbb7a1750","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-01-08.tgz","fileCount":63,"unpackedSize":21174488,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQRY2D4B/9xqcFKzFxpUVhwd4suj/a+z4P95s4wRDT2wIgXSYOgt9Bc5C9nIzQEhut5aV7BDXKUVD1y60Tmm/K1bI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7irfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYxhAAnNJq+z60mQXfbKRpUqIdWAEDDAIaoJCvipoHpk5TJ7QEvB1E\r\npjoIagnShv97sNA4l5jQq9VBOkXnZuU+f2x3cXEbSMHjATiZO1Z9BjfYXBlD\r\nbG68fKUBcGH8QEVWiZ4wVO1G8Ortfgac67XYVGwYYyoKIArM02iw58TEDtph\r\ni2ZawydLwjW/dNzxy1tZb7brNCb5EGzCy2RKjQVlubmC56cW47u6CJwBh9Od\r\n13T7qqK8Wx0LBplCUGyntbkC4GlgsIDtd7OX+cqRWvgsgVAb1T+lOLxCWRvh\r\n8YYHExqyVA8AhDuMwkFkHxQo3d+xHtkbuRW3TPs623Zdf0qWmdVm+zNutQxt\r\neiywe3eax5CO0E28xb1rQgJs2yTKiOi3Ny4ucr8Qp1ZRmcnjgd+5Jky/GMdL\r\nIDWV9oYcM6nh9ENuN2/SIew5Yr96kDLuDb9ctZfB6GDFpTFQTyLODainOJfU\r\nWmrv8MPKiKV+LMTfgWZlZf5PjDNcYgEqkixcjYN6KuEImquJ+UaAmA0MQoKM\r\nln8yVGP5XnHYFQ8AHfdkaNtSrTvtE7Ht/nWQYTMuUHps7yrJqyxxvFinSkkN\r\nzJWIMXt9rodFRDyqDOfvJ25ViDHpRVp2utm9BDKcELVKCdw527nQP/cLDqF1\r\nUG9IeKzhlylacoLVNhKI2N8WcD0UqkMKiO8=\r\n=Mgho\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-01-08_1676552927219_0.2971886996141737"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-16-01-13":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-16-01-13","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"3ee653029d4c5d73640e0ded41e19cfc77139687","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-16-01-13","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-W2qpUofpvdNpJOWMIharPuLNw4jKzaVLPNOD2m4A/KMnuY1CCfAVauG8LblVsVKeQ/jHQzexM3/vWNLSVOjYrQ==","shasum":"050c03ca96feb68c80a8610b9132dbc96e5d4a54","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-16-01-13.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWZEWmTwpxFBV8xlbXV/ojn2Q4tYDdC3n2rybkbK2KagIgZN2CMP1mX8DBzXc7JU4HujcCSylfm3yyjUZD/kD1XMI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7iwNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzEg//SVNhAgyopTbp4qFW0Xf/0OIYb/TJsmyFmG0IAcwcZp6PAJY7\r\n6MjgmWEDZZ7z0pNMM1Y+tBQNHeqzgzUgm3wrFUtKC6IVM5qa8ZsingGf35Ts\r\nibmWeOKIip6boYyxrEBNx6BhIt/WLwMIixf7F4VX6h38C+F7CZcRHYL9szkl\r\nfpBLjxJuUl75UpozjzIC/I74/AeBLv2FalCwhtC0gAuS7mDgbOKKNGAe0/94\r\np9AnJZRQIMOWNH4btd9vXK2gsAJxWmg/eHlat0mLwUbuwv/tAAZ/qFGIa4q/\r\nuJbYmEcMrLvmb7RJ5UkAEcmpTLvhCJju86qDLj3+3aZ08rXZ4aQwGeVT/K8E\r\nFZekqQ2S35B/QFMamGaY1NX0HBe+IErqP01OAYqY8CWoFWIye163zBbaa5Gg\r\nocbBs9jooqDNqrSUXzMfowq/wjMvnTxTXjiIC8cH+/WjFrD/2Lc9VKyOtEll\r\nIn8ZkUNw4SkXij3px9Sz78QeVdTO8Tj7RVqcd4U35EIV9b3bnc0+kc/KJzJ4\r\n7NyP9H2AKynlbmhFjmPINNAybbo8kNvN1IkMlpNlbsmDKxCSBf45eqMS3a+A\r\nN0deUg5mrG8P/3MmsTkLUQqjPUrEB0zybpGvVyQiBM7HFtq8f0XeYGtfYyqt\r\nTxSnAIQ8fFt4EIM0RfrfMLoB4x+icqJ6O44=\r\n=/loH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-16-01-13_1676553229585_0.3055797884214073"},"_hasShrinkwrap":false},"2.6.0-SNAPSHOT-2023-Feb-17-06-20":{"name":"@usama123/test","version":"2.6.0-SNAPSHOT-2023-Feb-17-06-20","description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","main":"dist/webrtc_adaptor.js","type":"commonjs","directories":{"doc":"doc"},"scripts":{"compile":"babel --plugins @babel/plugin-transform-modules-commonjs src/main/webapp/js/ -d dist","test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/ant-media/StreamApp/issues"},"homepage":"https://github.com/ant-media/StreamApp#readme","devDependencies":{"@babel/cli":"^7.20.7","@babel/plugin-transform-modules-commonjs":"^7.19.6"},"readme":"# [Ant Media Server](https://antmedia.io/) WebRTC SDK\ntest\n\nWebSocket interface in publishing and playing WebRTC streams on Ant Media Server using Javascript.\n\nFor more information, visit [antmedia.io](https://antmedia.io)\n\n\n[![NPM version](https://img.shields.io/badge/npm-v2.4.3-informational)](https://www.npmjs.com/package/@antmedia/webrtc_adaptor)\n[![Build Status](https://api.travis-ci.com/ant-media/StreamApp.svg?branch=master)](https://app.travis-ci.com/github/ant-media/StreamApp)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=io.antmedia%3Aant-media-server&metric=alert_status)](https://sonarcloud.io/dashboard?id=io.antmedia%3Aant-media-server)\n\n## <a name=\"installation\"></a>Installation\n\nUsing npm:\n```shell\n$ npm install @antmedia/webrtc_adaptor\n```\n\nUsing yarn:\n```shell\n$ yarn add @antmedia/webrtc_adaptor\n```\n\n## <a name=\"requirements\"></a>Requirements\n\nBefore start using Ant Media Server WebRTC SDK, you need a distribution of the Ant Media Server running on a server or local machine.\n[Quick Start - Ant Media Server](https://resources.antmedia.io/docs/quick-start)\n\n## <a name=\"usage\">Usage\n\nIn your project, run:\n\n```\nnpm i @antmedia/webrtc_adaptor --save-dev\n```\nThen inside your javascript file:\n#### <a name=\"initialize\">Initialize the WebRTCAdaptor\n```javascript\n  // ...\nimport { WebRTCAdaptor } from '@antmedia/webrtc_adaptor';\n\nconst webRTCAdaptor = new WebRTCAdaptor({\n    websocket_url: \"wss://your-domain.tld:5443/WebRTCAppEE/websocket\",\n    mediaConstraints: {\n        video: true,\n        audio: true,\n    },\n    peerconnection_config: {\n        'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]\n    },\n    sdp_constraints: {\n        OfferToReceiveAudio : false,\n        OfferToReceiveVideo : false,\n    },\n    localVideoId: \"id-of-video-element\", // <video id=\"id-of-video-element\" autoplay muted></video>\n    bandwidth: int|string, // default is 900 kbps, string can be 'unlimited'\n    dataChannelEnabled: true|false, // enable or disable data channel\n    callback: (info, obj) => {}, // check info callbacks bellow\n    callbackError: function(error, message) {}, // check error callbacks bellow\n});\n//...\n```\nIn another part of your script:\n#### <a name=\"publish\">Publish\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.publish(streamId);\n```\n\n#### <a name=\"play\">Play\n```javascript\n// You can start streaming by calling the publish method\nwebRTCAdaptor.play(streamId);\n```\n\n## Samples\nVisit The [Samples List](https://resources.antmedia.io/docs/sample-tools-and-applications) and look at their [sources codes](https://github.com/ant-media/StreamApp/tree/master/src/main/webapp)\n\n## <a name=\"documentation\">Documentation\n[Javascript SDK Documentation](https://resources.antmedia.io/docs/javascript-sdk)\n\n## <a name=\"livedemo\">Live Demo\nYou can check our [live demo](https://antmedia.io/live-demo).\n\n## <a name=\"issues\">Issues\nCreate issues on the [Ant-Media-Server](https://github.com/ant-media/Ant-Media-Server/issues)\n\n\n","readmeFilename":"README.md","gitHead":"a70c0f7ba6cd736837541fb3dd0920fdf1a9aa23","_id":"@usama123/test@2.6.0-SNAPSHOT-2023-Feb-17-06-20","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-vBzM7AjgZEGKM0XTh9dPp8kk6xL++6k1iwt5j4Dzto9vN7vOvFGtWhFqPrMbmOXFpi3QNK1F0FDwVt2LvO8rHw==","shasum":"f0225d6016e2d7485a9f41cbe86bd26f0e5b38bd","tarball":"https://registry.npmjs.org/@usama123/test/-/test-2.6.0-SNAPSHOT-2023-Feb-17-06-20.tgz","fileCount":98,"unpackedSize":29725670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrlgb+Ew3FEd69LP5Cp1Y7vw5UmMYFgEtJZTcyM6ugTQIgNC/aZyfJNw0dJTfX8p8qI473fO0K432md0qzJkQs+Lw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj78VoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrE4w/9GgN/aWB54xMSAoeYAyFRoBh0sQr9h6eeN7SlbAOoCJSKpDY5\r\ndFRDNVdHw0zOmDL8b3cQXZ8eTj+MdMVvTSAXQlb98cjFKLNOTwBKf6TCLtWl\r\nYJrEGOuGRxnI9bQDV86YGFn2bFLMn8LCsxjjCerZI1e5ctP0tyX3Fr+agGIw\r\nhru9dYhTzbTCYKIGIXIarrOMb+l4mOISD94zeNCsudBc97omOrJ5WWzOBIkR\r\ngQCe1T4kq91U2oGzA7wO+Uk9C8gYoKDfAilD7gAkZPJXAgW2CMwd3QY3q1dS\r\nqE86LEYKoaeIlxFHmshBfQYaQ8O/WSrfZdmNIKqTe2j4KL/L+6BkAHcdXZvs\r\n79p9rPtAps19JejwsQzmoDzr0Swtd3/+13UorLhuLxeHaB4MOJlWDbdmsNMg\r\nlG9hJm/W6cXsG0eanXkwohIocb7ZGhAUyr++kyl+RjKxxfl6NRffVOxRdbNk\r\nfr5cX0qsyTe/avGS3JzWFzduk4M/fcYjgRccqhhImRmqbdcpdY4vBxPs7v81\r\nAG1/MpJOHs5WLzlgOfNT0fCaY6A+iYdW7MeWCLIKGmrF3YODU2vWicSq0qbn\r\nBGw0juylahPCAH0E37UbQeNangFauV9pM9ofhBFGpGtu5KK0X3PHf4xyDHz3\r\nWBduTvuAMzbrAc2fcThi2XmYjjiAfHR4YaU=\r\n=0Irh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usama123","email":"usamawizard@gmail.com"},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_2.6.0-SNAPSHOT-2023-Feb-17-06-20_1676658023626_0.9641049673068569"},"_hasShrinkwrap":false}},"maintainers":[{"name":"usama123","email":"usamawizard@gmail.com"}],"description":"WebRTC Adaptor for implementing a front end using Ant Media Server.","license":"ISC","readme":"","readmeFilename":"","homepage":"https://github.com/ant-media/StreamApp#readme","repository":{"type":"git","url":"git+https://github.com/ant-media/StreamApp.git"},"bugs":{"url":"https://github.com/ant-media/StreamApp/issues"}}