diff --git a/webrtc/RTCPeerConnection-helper.js b/webrtc/RTCPeerConnection-helper.js index b13e580998efce..330ce1992d97a5 100644 --- a/webrtc/RTCPeerConnection-helper.js +++ b/webrtc/RTCPeerConnection-helper.js @@ -358,7 +358,7 @@ const trackFactories = { */ canCreate(requested) { const supported = { - audio: !!window.MediaStreamAudioDestinationNode, + audio: !!window.AudioContext && !!window.MediaStreamAudioDestinationNode, video: !!HTMLCanvasElement.prototype.captureStream };