mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Released resources when video muting
parent
5a6b0db6f8
commit
0c863e0940
|
@ -287,9 +287,9 @@ export class OpenViduService {
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
private publishVideoAux(publisher: Publisher, value: boolean): void {
|
||||
private publishVideoAux(publisher: Publisher, publish: boolean): void {
|
||||
if (!!publisher) {
|
||||
publisher.publishVideo(value);
|
||||
publisher.publishVideo(publish, true);
|
||||
this.participantService.updateLocalParticipant();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue