fix webrtc support detection in browser

This commit is contained in:
Feross Aboukhadijeh 2015-04-23 23:27:12 -07:00
parent 44319cfa11
commit ee3ea92c47

View File

@ -17,7 +17,7 @@ try {
wrtc = null // optional dependency failed to install
}
var WEBRTC_SUPPORT = !!wrtc
var WEBRTC_SUPPORT = !!wrtc || typeof window !== 'undefined'
var common = require('./common')