Clear html video resources on disconnect
This commit is contained in:
@@ -299,6 +299,9 @@ export class VideoRTC extends HTMLElement {
|
|||||||
this.pc.close();
|
this.pc.close();
|
||||||
this.pc = null;
|
this.pc = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.video.src = '';
|
||||||
|
this.video.srcObject = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user