mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
common: fix microphone nre in BrowserSignalingSession
This commit is contained in:
@@ -110,7 +110,9 @@ export class BrowserSignalingSession implements RTCSignalingSession {
|
|||||||
await this.microphone.replaceTrack(mic.getTracks()[0]);
|
await this.microphone.replaceTrack(mic.getTracks()[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.microphone.track.enabled = enabled;
|
if (this.microphone?.track) {
|
||||||
|
this.microphone.track.enabled = enabled;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
|
|||||||
Reference in New Issue
Block a user