openvidu-components: Released resources when video muting
This commit is contained in:
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…
x
Reference in New Issue
Block a user