2

I had use but it always return video without audio

var newBlob = new Blob([video_blob, audio_blob], "video/mp4");
Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
Bahadur Singh Deol
  • 753
  • 2
  • 6
  • 17

1 Answers1

0

You can't just merge video and audio streams.

The process of joining video and audio streams is called muxing. I've found a library which seems to do just that but on node.js https://github.com/videojs/mux.js/ There is also https://github.com/samirkumardas/jmuxer which seems to be exactly what you need.

Maybe you could look for a player that supports getting video and audio as separate blobs. But video and audio might get out of sync then.

Cezary Butler
  • 807
  • 7
  • 21