Logger.js:154 2020-08-05T05:07:44.699Z [features/base/tracks] Failed to create local tracks Array(1) TypeError: Cannot read property 'getUserMedia' of undefined

Hi,

I had integrated jitsi meet using iframe in my web application. in local it’s working fine but when i host on server (windows server 2016) it’s not working and give me below error.

Logger.js:154 2020-08-05T05:07:44.699Z [features/base/tracks] Failed to create local tracks Array(1) TypeError: Cannot read property ‘getUserMedia’ of undefined.

my line of code:
(document).ready(function () { (’#tblUpdateModal’).modal(‘show’);

    var domain = "@_CallDomain";
    var options = {
        roomName: "@ViewBag.CallScheduleId",
        width: 700,
        height: 700,
        parentNode: document.querySelector('#dvJoinCall'),
        configOverwrite: { startWithAudioMuted: true }
    }
    var api = new JitsiMeetExternalAPI(domain, options);
});

pls help me for short out this one.

You need to serve this under https not http.

why http://localhost can open that ?