muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.46k stars 1.75k forks source link

Can't find variable: RecordRTCPromisesHandler #788

Open rameshjega opened 2 years ago

rameshjega commented 2 years ago

I faced this issues.while i run the code inside of reactnative.Can't find variable: RecordRTCPromisesHandler

let s = await mediaDevices.getUserMedia({video: true, audio: true}); setStream(s); let recorder = new RecordRTCPromisesHandler(s, { type: 'video' }); recorder.startRecording();