mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Fixed bug enlarging the screen video
parent
5a41202935
commit
3786d5bef2
|
@ -201,8 +201,10 @@ export class ParticipantService {
|
||||||
participantAdded.setPublisher(streamModel.type, subscriber);
|
participantAdded.setPublisher(streamModel.type, subscriber);
|
||||||
} else {
|
} else {
|
||||||
this.log.d('Participant has not publisher, adding it');
|
this.log.d('Participant has not publisher, adding it');
|
||||||
this.resetRemoteStreamsToNormalSize();
|
if(streamModel.type === VideoType.SCREEN) {
|
||||||
this.resetMyStreamsToNormalSize();
|
this.resetRemoteStreamsToNormalSize();
|
||||||
|
this.resetMyStreamsToNormalSize();
|
||||||
|
}
|
||||||
participantAdded.addConnection(streamModel);
|
participantAdded.addConnection(streamModel);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue