|
@@ -525,11 +525,8 @@ export default class JitsiLocalTrack extends JitsiTrack {
|
525
|
525
|
}
|
526
|
526
|
|
527
|
527
|
promise.then(streamsInfo => {
|
528
|
|
- // Do not add the presenter track to the conference
|
529
|
|
- if (this.getType() === 'presenter') {
|
530
|
|
- return Promise.resolve();
|
531
|
|
- }
|
532
|
|
- const mediaType = this.getType();
|
|
528
|
+ // The track kind for presenter track is video as well.
|
|
529
|
+ const mediaType = this.getType() === MediaType.PRESENTER ? MediaType.VIDEO : this.getType();
|
533
|
530
|
const streamInfo
|
534
|
531
|
= browser.usesNewGumFlow()
|
535
|
532
|
? streamsInfo.find(
|