Fixed isVideoBroadcasting check to return a bool

This commit is contained in:
prlanzarin 2018-08-20 19:44:38 +00:00
parent 96489c30a8
commit ad353a6e84

View File

@ -13,8 +13,9 @@ const isVideoBroadcasting = () => {
return false;
}
const hasStream = ds.screenshare.stream ? true : false;
// TODO commented out isPresenter to enable screen viewing to the presenter
return ds.screenshare.stream; // && !PresentationService.isPresenter();
return hasStream; // && !PresentationService.isPresenter();
}
// if remote screenshare has been ended disconnect and hide the video stream