parent
e6accd40e1
commit
076113940b
|
@ -1711,10 +1711,10 @@ export default {
|
||||||
= this._turnScreenSharingOff.bind(this, didHaveVideo);
|
= this._turnScreenSharingOff.bind(this, didHaveVideo);
|
||||||
|
|
||||||
const desktopVideoStream = desktopStreams.find(stream => stream.getType() === MEDIA_TYPE.VIDEO);
|
const desktopVideoStream = desktopStreams.find(stream => stream.getType() === MEDIA_TYPE.VIDEO);
|
||||||
const dekstopAudioStream = desktopStreams.find(stream => stream.getType() === MEDIA_TYPE.AUDIO);
|
const desktopAudioStream = desktopStreams.find(stream => stream.getType() === MEDIA_TYPE.AUDIO);
|
||||||
|
|
||||||
if (dekstopAudioStream) {
|
if (desktopAudioStream) {
|
||||||
dekstopAudioStream.on(
|
desktopAudioStream.on(
|
||||||
JitsiTrackEvents.LOCAL_TRACK_STOPPED,
|
JitsiTrackEvents.LOCAL_TRACK_STOPPED,
|
||||||
() => {
|
() => {
|
||||||
logger.debug(`Local screensharing audio track stopped. ${this.isSharingScreen}`);
|
logger.debug(`Local screensharing audio track stopped. ${this.isSharingScreen}`);
|
||||||
|
|
Loading…
Reference in New Issue