meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8k stars 2.45k forks source link

Janus.isWebrtcSupported checks only navigator.getUserMedia #1527

Closed patrick-werner closed 5 years ago

patrick-werner commented 5 years ago

Currently Janus.isWebrtcSupported checks only the deprectad navigator.getUserMedia, but WebRtc can also be supported through: navigator.mediaDevices.getUserMedia

https://github.com/meetecho/janus-gateway/blob/e027f0a03804d55e2865fd56aa1f4a408906e14b/html/janus.js#L384

lminiero commented 5 years ago

We actually only use navigator.mediaDevices.getUserMedia in janus.js, so that check is indeed broken. Thanks for the heads up, I'll fix it shortly.