@realsee/live 0.5.0-alpha.14 → 0.5.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/realsee-live.cjs.development.js +2 -2
- package/dist/realsee-live.cjs.development.js.map +1 -1
- package/dist/realsee-live.cjs.production.js +1 -1
- package/dist/realsee-live.cjs.production.js.map +1 -1
- package/dist/realsee-live.esm.js +2 -2
- package/dist/realsee-live.esm.js.map +1 -1
- package/dist/realsee-live.umd.development.js +2 -2
- package/dist/realsee-live.umd.development.js.map +1 -1
- package/dist/realsee-live.umd.production.js +1 -1
- package/dist/realsee-live.umd.production.js.map +1 -1
- package/package.json +1 -1
|
@@ -51585,8 +51585,8 @@
|
|
|
51585
51585
|
}
|
|
51586
51586
|
const { force = false } = options;
|
|
51587
51587
|
// 检测一下麦克风权限,hack
|
|
51588
|
-
if (this._options.rtc
|
|
51589
|
-
const res = yield this._options.
|
|
51588
|
+
if (this._options.rtc) {
|
|
51589
|
+
const res = yield this._options.rtc.detectMicro();
|
|
51590
51590
|
if (!res) {
|
|
51591
51591
|
return new Error('Failed to obtain microphone authorization');
|
|
51592
51592
|
}
|