I have this error: TypeError: undefined is not an object (evaluating 'f.getUserMedia')
CallingService.createVideoSession([218307,218308 ]).then(session => {
this.setState({'session':session});
// global.videoSession=session;
CallingService.getUserMedia(session)
.then(stream => {
alert(stream)
// global.localVideoStreamObtained=stream;
// global.userIsCalling=true;
CallingService.initiateCall(session);
})
.catch(err => {
alert("getUserMedia err" + err);
});
});
Please help me