{"_id":"@cameratag/microphone","_rev":"6-d93880a5a4a4d923df4ad3067743f529","name":"@cameratag/microphone","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"@cameratag/microphone","version":"0.1.0","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/microphone@0.1.0","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"161731ebf010d40449e60493d16d2ae5a768aed9","tarball":"https://registry.npmjs.org/@cameratag/microphone/-/microphone-0.1.0.tgz","fileCount":3,"integrity":"sha512-wO9ipeB//9CdOESSJfPI3dI/BeW2CbLzHZCb/4l8yxC2ceMGpY6kwRx0rP99H94dtwjITSx0l7i+4/J58Z0xeQ==","signatures":[{"sig":"MEQCICkdxUZ+eIZk5BQTNPIhyjORzzNug8XLhb/+mFE0a77eAiBzyUnLGuGcPQglqvAlTXztz//IdbP8wpVIePDt13N3Mw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":434151},"main":"microphone.js","gitHead":"c835ddb9089c461a7c90bf493f6bafcb9fbd6b36","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"9.5.0","description":"CameraTag's audio recording module aka the <microphone>. Allows your users to record or upload audio from your product using their computer or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/microphone_0.1.0_1744335109839_0.07280268490868824","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cameratag/microphone","version":"0.1.1","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/microphone@0.1.1","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"de040b53fab2b629c8192080043bb9d0119536e8","tarball":"https://registry.npmjs.org/@cameratag/microphone/-/microphone-0.1.1.tgz","fileCount":3,"integrity":"sha512-nTB4Jnj+E5ltzvjBbVlWQ7pnu2a6umsgLoFB9AIxLsQLYpkHEc5NbEqvURRyxylpFx8pxIqTMgzjETV1z7Y7Bw==","signatures":[{"sig":"MEQCIEMJA/tUUB5jEKvRq4ittGRiEK1UQzm6YTtQpm01aZ6KAiAykSFCwq65w4hRK0jYX5nt11DAiagMPsEg2hSF+Yp5MQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":434089},"main":"microphone.js","gitHead":"c835ddb9089c461a7c90bf493f6bafcb9fbd6b36","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"9.5.0","description":"CameraTag's audio recording module aka the <microphone>. Allows your users to record or upload audio from your product using their computer or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/microphone_0.1.1_1744370850940_0.8703350499029419","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cameratag/microphone","version":"0.1.2","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/microphone@0.1.2","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"b95c2649d238c938f126f6e29409726cdb8127ae","tarball":"https://registry.npmjs.org/@cameratag/microphone/-/microphone-0.1.2.tgz","fileCount":3,"integrity":"sha512-HoRwQ1xOSiE3GqjDVCrIKJRJygYgd32yPsH4/+tDqUHgJ7/gl5/EGWCTwl9zxwQVlgQY/wxAl+ikxr6dB+fFXQ==","signatures":[{"sig":"MEQCIF2BdG9Cy05zVWYr71ap20EuUnVpIJ9GL4NCIuHAZ4xGAiAIdkhq+FIq+Vt59bHk/OUvC7utAZaWIAXAD10yFUQlcw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":440481},"main":"microphone.js","gitHead":"273f28e84520ae8888201eeaf481b0f499e51aad","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"9.5.0","description":"CameraTag's audio recording module aka the <microphone>. Allows your users to record or upload audio from your product using their computer or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/microphone_0.1.2_1749591514128_0.37929658908057484","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cameratag/microphone","version":"0.1.3","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/microphone@0.1.3","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"6e4b1d827922a2d4f5f1b0f15915ede0c0870677","tarball":"https://registry.npmjs.org/@cameratag/microphone/-/microphone-0.1.3.tgz","fileCount":3,"integrity":"sha512-fmndHI0MisrjpVo8htFKbA2Ckg3udjOBjF/Cp3B/XDbrFBomBXcVOHUGt//wE88eb7lLztkb0JkqBDaqFGxESw==","signatures":[{"sig":"MEUCIQDFyGTs6EMafUT3LaNMg9sR1PzQfDWYwpHBCPjBAAoZugIgYiHAsBG2wSMBbLLjN0Z+gCLDd4mY2i7SasaA/dMfGiY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":446135},"main":"microphone.js","gitHead":"273f28e84520ae8888201eeaf481b0f499e51aad","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"10.9.3","description":"CameraTag's audio recording module aka the <microphone>. Allows your users to record or upload audio from your product using their computer or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/microphone_0.1.3_1759928014063_0.21155997491858813","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@cameratag/microphone","version":"0.1.5","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/microphone@0.1.5","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"247305f0df678fcae24889463afb810881370c72","tarball":"https://registry.npmjs.org/@cameratag/microphone/-/microphone-0.1.5.tgz","fileCount":3,"integrity":"sha512-lk/tbKTs+E2FA47uiPiGd3Me5p+OfgDwIcKLUEsCctp/AjNZN+pGYxFK63b5mm0/sqIaDQmKXfj6uM1iB2wVDg==","signatures":[{"sig":"MEUCIQC1/Bh0WDBYmQOsUp2st8BxslnnpGyyZzG+7FyGtrIIGwIgfH3wLpRZZ9GK87VS3TINNLWadZy9uhgOubRNUi8H+iU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":452312},"main":"microphone.js","gitHead":"e3b34a65e91534f73bc5cb9d065fc6cee4166bd9","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"10.9.3","description":"CameraTag's audio recording module aka the <microphone>. Allows your users to record or upload audio from your product using their computer or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/microphone_0.1.5_1760981190968_0.6529052809815694","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@cameratag/microphone","version":"0.1.6","description":"CameraTag's audio recording module aka the <microphone>. Allows your users to record or upload audio from your product using their computer or mobile device. Requires a CameraTag account.","main":"microphone.js","scripts":{"test":""},"author":{"name":"Chris Danzig"},"keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"license":"UNLICENSED","_id":"@cameratag/microphone@0.1.6","gitHead":"e3b34a65e91534f73bc5cb9d065fc6cee4166bd9","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-B23F+569fV1WOR/whNiqc9PrWRTd7Rd1nbAqqPix/Ls2PMa9Arppys5Ub8ZN2slVSHGmUrWcObj8DON0E6Cqdw==","shasum":"9b484741fdfd2ee8ea086d702a459461426e2cc9","tarball":"https://registry.npmjs.org/@cameratag/microphone/-/microphone-0.1.6.tgz","fileCount":3,"unpackedSize":518896,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCcqYsuc0HOC8hLPquJ5pLg2BhGx6VjxFkqnsC1L5FxwAIgV9PzFBrJpMFc1HS4PrRrKZR4Ef7rGAFZ7Xsd5SfctPU="}]},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"directories":{},"maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/microphone_0.1.6_1761153121684_0.7256280112691271"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-11T01:31:49.751Z","modified":"2025-10-22T17:12:02.117Z","0.1.0":"2025-04-11T01:31:50.051Z","0.1.1":"2025-04-11T11:27:31.112Z","0.1.2":"2025-06-10T21:38:34.295Z","0.1.3":"2025-10-08T12:53:34.281Z","0.1.5":"2025-10-20T17:26:31.176Z","0.1.6":"2025-10-22T17:12:01.894Z"},"author":{"name":"Chris Danzig"},"license":"UNLICENSED","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"description":"CameraTag's audio recording module aka the <microphone>. Allows your users to record or upload audio from your product using their computer or mobile device. Requires a CameraTag account.","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"readme":"# CameraTag's Audio Recorder\nThis library allows you to embed a CameraTag &lt;microphone> audio recorder in your product. \n\n## Initialize A Recorder\n'Magically' initialize your recorder using HTML\n```html\n<microphone\n  id='myFirstMicrophone'\n  data-app-id='a-6793d070-dbac-013b-f57a-529b7d4fe95c'>\n</microphone>\n\n<script>\n  CameraTagMicrophone.setup(); // Scan DOM for new <microphone> tags \n  // if you need to access the newly initialized &lt:microphone> \n  // you can get a handle with.\n  myMicrophone = CameraTagMicrophone.instances[\"myFistMicrophone\"];\n</script>\n```\n\n\nManually initialize your recorder using JS\n```html\n<div id=\"load_recorder_here\"></div>\n<script>\n  CameraTagMicrophone = require(\"@cameratag/microphone\");\n  var el = document.getElementById(\"load_recorder_here\");\n  var myMicrophone = new CameraTagMicrophone();\n  myMicrophone.init(el {\n    id: 'myFirstMicrophone'\n    appUuid: 'a-6793d070-dbac-013b-f57a-529b7d4fe95c', \n  })\n<script>\n```\n\n## Control The Recorder\nYou can control your &lt;microphone> with methods from our [JS API](https://www.cameratag.com/docs) \n\nAfter you get a handle on a &lt;microphone> you can call methods on it like so:\n```js\nmyMicrophone.record();\n```\n\n## Observe The Recorder\nYou can also observe events fired by the &lt;microphone> and trigger your own code. View our [our docs](https://www.cameratag.com/docs)  to see the full list of events fired from the &lt;microphone>\n```js\nmyCamera.ovbserve(\"recordingStarted\", function(){\n  console.log(\"You are recording!\")\n});\n```","readmeFilename":"README.md"}