JSPM

concatenateblobs

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 49
  • Score
    100M100P100Q75264F
  • License MIT

Simply pass array of blobs. This javascript library will concatenate all blobs in single Blob object.

Package Exports

  • concatenateblobs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (concatenateblobs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ConcatenateBlobs.js npm downloads

Demo: https://www.WebRTC-Experiment.com/ConcatenateBlobs/

Simply pass array of blobs. This javascript library will concatenate all blobs in single "Blob" object.

It is MIT Licenced, which means that you can use it in any commercial/non-commercial product, free of cost.

npm install concatenateblobs

To use it:

<script src="./node_modules/concatenateblobs/ConcatenateBlobs.js"></script>
https://cdn.webrtc-experiment.com/ConcatenateBlobs.js

// or
https://www.webrtc-experiment.com/ConcatenateBlobs.js

2. Use it

// 2nd argument is type of "resulting-blob"
ConcatenateBlobs([arrayOfBlobs], 'audio/wav', function(resultingBlob) {

    POST_to_Server(resultingBlob);
    
    // or preview locally
    localVideo.src = URL.createObjectURL(resultingBlob);
});

Credits

License

ConcatenateBlobs.js is released under MIT licence . Copyright (c) Muaz Khan.