After updating from Chrome 73 to 74 `navigator.getUserMedia` and `navigator.webkitGetUserMedia` return undefined.

Here <https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia> I see that getUserMedia is actually deprecated in favor of `navigator.mediaDevices.getUserMedia()`, but in my case navigator.mediaDevices too is undefined so I cannot use it.

Anyone knows if it's a bug in the latest release of Chrome or if I need to use something else?