|
|
|
|
|
|
1816
|
const desktopVideoStream = streams.find(stream => stream.getType() === MEDIA_TYPE.VIDEO);
|
1816
|
const desktopVideoStream = streams.find(stream => stream.getType() === MEDIA_TYPE.VIDEO);
|
|
1817
|
|
1817
|
|
|
1818
|
if (desktopVideoStream) {
|
1818
|
if (desktopVideoStream) {
|
|
1819
|
- this.useVideoStream(desktopVideoStream);
|
|
|
|
|
|
1819
|
+ await this.useVideoStream(desktopVideoStream);
|
|
1820
|
}
|
1820
|
}
|
|
1821
|
|
1821
|
|
|
1822
|
this._desktopAudioStream = streams.find(stream => stream.getType() === MEDIA_TYPE.AUDIO);
|
1822
|
this._desktopAudioStream = streams.find(stream => stream.getType() === MEDIA_TYPE.AUDIO);
|