Closed superyhee closed 2 years ago
resolved
@superyhee how to resolve?
var VideoStreamMerger = require('video-stream-merger'); var merger = new VideoStreamMerger()
VideoStreamMerger is not a constructor
@En777
Have you tried:
const { VideoStreamMerger } = require('video-stream-merger');
How about:
import { MediaStreamRecorder } from 'video-stream-merger';
P.s don't comment on closed issue, pls.
when i upgrade to 4.01 ,i got the following errors: video_stream_mergerWEBPACK_IMPORTED_MODULE4default.a is not a constructor