Skip to content
This repository was archived by the owner on Apr 4, 2019. It is now read-only.

i'm just curious #3

Open
jimmywarting opened this issue May 15, 2016 · 3 comments
Open

i'm just curious #3

jimmywarting opened this issue May 15, 2016 · 3 comments

Comments

@jimmywarting
Copy link

Why would you need a lib for this?

isn't this enought?

a = new Blob(["a"])
b = new Blob(["b"])
ab = new Blob([a,b])
@pons1991
Copy link

Its for concatenating audio blobs, Please refer https://webrtcexperiment-webrtc.netdna-ssl.com/MediaStreamRecorder.js

@jimmywarting
Copy link
Author

jimmywarting commented May 15, 2017

Isn't this:

ConcatenateBlobs(mediaRecorder.blobs, mediaRecorder.blobs[0].type, function(concatenatedBlob) {
  invokeSaveAsDialog(concatenatedBlob);
});

The same as doing:

var concatenatedBlob = new Blob(mediaRecorder.blobs, {type: mediaRecorder.blobs[0].type});
invokeSaveAsDialog(concatenatedBlob);

?

@pons1991
Copy link

pons1991 commented May 16, 2017

I tried the above one also. Both are recording only the 'timeSlice' seconds. Not more, not less.
any clue? @muaz-khan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants